Fix issue with keydown for space.

KeyEvent#character contained the wrong charCode (0)