Depth testing and coord fixes for directx