Fix input field display in firefox