fixed resize issue for some sites (kind of)