Add fix for IE mode