key events are registered. canvas update wrong