Improve ctrl key handling.