Support for capturing screenshots (D3D)