Apply animation effects as soon as the animation is played