Fix numeric inputs in Firefox