Fixed DX11 problems.