fix animation synchronization crash