Depth test fix