Restore enter key in onKeyPress for FireFox

#1955

Haven't tested it yet (it's late), I'll run it through some manual tests tomorrow.