Fixed bug in initial load of animations