Force leave fullscreen when toggle soft keyboard

softkeyboard can't resize window when fullscreen. So it's a workaround to disable fullscreen when toggle soft keyboard.