Don't capture keyboard events when ctrl is pressed

Several of the keys used for the shortcuts are used as browser shortcuts with ctrl.