Fix animation loop detection
Fix animation loop detection

sebavan/Babylon.js,sebavan/Babylon.js,RaananW/Babylon.js,BabylonJS/Babylon.js,BabylonJS/Babylon.js,sebavan/Babylon.js,RaananW/Babylon.js,BabylonJS/Babylon.js,RaananW/Babylon.js