made a workaround for when backbuffer sizes are invalid/unused in d3d9 graphics capturing