Fixed animations for safari