Fixed weird Firefox bug that stopped submit being triggered on forms