Fix some bugs in OMTC D3D11 concerning readback layers.