fixes in depth textures