another try to fix popup sizing problem in Firefox