Fix regression where pressing Cmd+R with menu selected refreshed page.

Be more selective about modifier keys not being pressed.