clip nested artboards
diff --git a/src/nested_artboard.cpp b/src/nested_artboard.cpp
index 8f86035..156a9fd 100644
--- a/src/nested_artboard.cpp
+++ b/src/nested_artboard.cpp
@@ -38,7 +38,11 @@
     if (m_NestedInstance == nullptr) {
         return;
     }
-    renderer->save();
+    if (!clip(renderer)) {
+        // We didn't clip, so make sure to save as we'll be doing some
+        // transformations.
+        renderer->save();
+    }
     renderer->transform(worldTransform() * makeTranslate(m_NestedInstance));
     m_NestedInstance->draw(renderer);
     renderer->restore();