sdl2: software: clear window on mode change