fix animation editor bug