fix animation restart