Fix bug where typing R in command box would trigger Cmd+R event.