Fixed bugs with Mozilla. Added support for keyboard on numpad.