Patch for ibus_1.4.1-3ubuntu1.debian. Turn off IME when the focus moves