Bug 1050660 - setInputMethodActive doesn't sometimes work when switching IME imminently after boot. r=fabrice