ui: sdl2: Release grab before opening console window