Several IE8/7 fixes