fixed Firefox popup size issue