Need guidance with c# DrawViewportWires

Hello fellow grasshoppers,

I am having trouble understanding the display conduit pipeline, and just haven’t figured out a way to make the selected object color move behind my custom display for selected objects.

Here is an example of what I mean:

While it doesn’t show very well, the yellow color (from rhino selection) is very obtrusive, especially if I lower the line thickness to 1 for the display.

The following is a simplified code of what I’m currently doing.
CurveCustomDisplayExample.gh (3.0 KB)
CurveCustomDisplay.3dm (27.6 KB)

Any insight is welcomed, since the information about the display pipeline is very limited and I struggle to find references or insights.

I will continue searching and experimenting, if I find any result I will post an update.

Thanks for everything in advance!