Fixes capturing for `-` in Firefox.

Firefox returns `173` on `event.which` when typing a `-`.