fix crash on change domains while entities are animating or moving