temporary fix for gui rendering state interference with 3d scene