Fix input box model in firefox