fix animation boundary