Fix scrolling using Shift+Spacebar in Firefox

After #4224, scrolling using <kbd>Shift</kbd> + <kbd>Spacebar</kbd> doesn't work in Firefox, unless another navigation key was pressed before it.