Shader Pipeline Renderer: lines ignore depth test
Using the Shader Pipeline Renderer, Polylines and selection lines are rendered without depth test, i.e. are visible through other objects. The problem goes away as soon as you right click an object to bring up the context menu.