converting keyDown event to normal event. Fixes #2