Check animation parameters before adding animation