Improve SDL2 window positioning on resize