sdl2: reuse window on mode change