When an AnimationGroup acts on a Mobject with a negative z_index, the animation doesn't actually play.
Expected behavior
Ideally, using an AnimationGroup should work. It did with a previous stable version so this must be a recent bug.
How to reproduce the issue
Code for reproducing the problem
```py
class Test(Scene):
def construct(self):
s = Square().set_z_index(-1)
self.play(GrowFromCenter(s)) # Works great
self.wait()
self.play(AnimationGroup(GrowFromCenter(s))) # Doesn't work
self.wait()
```
Description of bug / unexpected behavior
When an
AnimationGroup
acts on a Mobject with a negativez_index
, the animation doesn't actually play.Expected behavior
Ideally, using an AnimationGroup should work. It did with a previous stable version so this must be a recent bug.
How to reproduce the issue
Code for reproducing the problem
```py class Test(Scene): def construct(self): s = Square().set_z_index(-1) self.play(GrowFromCenter(s)) # Works great self.wait() self.play(AnimationGroup(GrowFromCenter(s))) # Doesn't work self.wait() ```Additional media files
Images/GIFs
![Test_ManimCE_v0 17 3](https://github.com/ManimCommunity/manim/assets/41497304/d92ccacb-bd0d-4598-bc9b-45315fed05ef)