Fix stop on path animation