Fixed IE animation bug