Potential fix for animation bug.