fixed Firefox layouting issue of settings popup