Fix control key detection.