Fix UI for Firefox browser