[4.0] Set DepthMask to true before clearing depth buffer