Apply fix to SystemView.cpp too.
Use the renderer to set depth write.