Fix bug trapping keyboard shortcuts on FF/Win

The `restrictNumeric` method checks whether the `metaKey` is pressed, but also
needs to check `ctrlKey` for Windows users, so that <kbd>Ctrl</kbd>+<kbd>T</kbd> (new tab) and similar
shortcuts aren't trapped and cancelled.