Changed keydown event to direct input.

:-)

Much smoother!