Fix stopAnimation