Fix space key event issue with Japanese, Chinese (etc) IMEs in Chrome and Safari (fixes #177)