[input] - fix keyboard input on 10.9 mavericks