Endless animation fix