Use an instance of the artboard for SMI test
diff --git a/src/animation/state_machine_instance.cpp b/src/animation/state_machine_instance.cpp
index 93d93c5..2891254 100644
--- a/src/animation/state_machine_instance.cpp
+++ b/src/animation/state_machine_instance.cpp
@@ -328,7 +328,7 @@
             HitShape* hitShape;
             auto itr = hitShapeLookup.find(id);
             if (itr == hitShapeLookup.end()) {
-                auto shape = artboard->resolve(id);
+                auto shape = m_ArtboardInstance->resolve(id);
                 if (shape != nullptr && shape->is<Shape>()) {
                     hitShapeLookup[id] = hitShape = new HitShape(shape->as<Shape>());
                     m_HitShapes.push_back(hitShape);
diff --git a/test/state_machine_event_test.cpp b/test/state_machine_event_test.cpp
index 5dbdffa..a849048 100644
--- a/test/state_machine_event_test.cpp
+++ b/test/state_machine_event_test.cpp
@@ -63,7 +63,7 @@
 TEST_CASE("hit testing via a state machine works", "[file]") {
     RiveFileReader reader("../../test/assets/bullet_man.riv");
 
-    auto artboard = reader.file()->artboard("Bullet Man");
+    auto artboard = reader.file()->artboard("Bullet Man")->instance();
     REQUIRE(artboard != nullptr);
     REQUIRE(artboard->stateMachineCount() == 1);