Patch to stop IME from showing when hard keyboard is present.