Fixes IE8 and below freezing issue