Avoid error where animation has animationStop$ property of 0, leading to an infinite loop