Merge pull request #3325 from stenzek/d3d-screenshot-crash-fix D3D: Fix crash when taking screenshot with crop enabled