fix edit mode animation.