mark shape as dirty after flagged as target

Diffs=
b88272290 mark shape as dirty after flagged as target (#7396)

Co-authored-by: hernan <hernan@rive.app>
diff --git a/.rive_head b/.rive_head
index de25b58..f3c7912 100644
--- a/.rive_head
+++ b/.rive_head
@@ -1 +1 @@
-a10b1e61edfd5a5d01801f78d9ee76a064c9c7ce
+b88272290c7d45f1be5b4b7403707c0f1bc9384f
diff --git a/src/animation/state_machine_instance.cpp b/src/animation/state_machine_instance.cpp
index 11225a1..1f0b0a2 100644
--- a/src/animation/state_machine_instance.cpp
+++ b/src/animation/state_machine_instance.cpp
@@ -646,6 +646,7 @@
                     if (itr == hitShapeLookup.end())
                     {
                         component->as<Shape>()->addFlags(PathFlags::neverDeferUpdate);
+                        component->as<Shape>()->addDirt(ComponentDirt::Path, true);
                         auto hs = rivestd::make_unique<HitShape>(component, this);
                         hitShapeLookup[component] = hitShape = hs.get();
                         m_hitComponents.push_back(std::move(hs));