fix(animate): cleanup global leaked vars.