Animation ends after last frame