fix depthview drawing