Bug 1018590 - Properly remove the input focus when hiding the keyboard.