fix advancing nested animations

flipping the order of conditions to guarantee that all nested animations advance

Diffs=
5ccc21fa3 fix advancing nested animations (#7246)
diff --git a/.rive_head b/.rive_head
index 9fdcac6..231082d 100644
--- a/.rive_head
+++ b/.rive_head
@@ -1 +1 @@
-9ad9d82e1863f9c04376005534d3c1587a98b9cf
+5ccc21fa3a5f726827da601f04cf234138b379df
diff --git a/submodules/rive-cpp b/submodules/rive-cpp
index 6573543..4aeeadd 160000
--- a/submodules/rive-cpp
+++ b/submodules/rive-cpp
@@ -1 +1 @@
-Subproject commit 657354303be0cc13dd8926f6863489964dc62f5c
+Subproject commit 4aeeaddf4aa621fdcdd48a85bb287d5c24ab9f27