Fix some surface clearing bugs with D3D11/Azure.