Cleanup curves of removed animations properly.