ie hasLayout fix