bugfixed animation handlingon FF