fix animation registration