fix UI in Firefox