Minor fix for window appearance delay in Firefox.