fix($animate): ensure that animations are not disabled after $rootElement is animated