Fixed: key events running twice (fixes #57).