Correct bug after sneezing
Add getter of the length of animation