Partially fixed the display of buttons in firefox