Engine: D3D9 captures screen from back buffer instead of front buffer
Fixes related to previous commit
Merge branch 'develop-3.3.1' of https://github.com/adventuregamestudio/ags into editor_platforms