Bug 1095471 - Wait for keyboard's input mode to be initialized to protect against intermittents