Fix transition to borderless SDL2 window