Fix sdl window caption when the keyboard is captured.