Prevent multiple keydown events.