Your solution solves the Z issue, but makes the foreground renderer pointless to display always-on-top labels:
In the example above, I did a SetPreserveDepthBuffer( true )
on the foreground renderer, now the labels are occluded by the geomertry.
I’ll experiment a bit with it in the mouse events to try to get it right.
thanks,
PC