fixing directx depth rendering