Fixed bug in keyboard.