Fix focus handling in Keyboard page.