Bug 1010734 = use switchToFrame when switching to keyboard frame.