summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starling/node-2d.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/starling/node-2d.scm b/starling/node-2d.scm
index 3dc0804..3f289f6 100644
--- a/starling/node-2d.scm
+++ b/starling/node-2d.scm
@@ -386,6 +386,7 @@
(when (= (height node) 0.0)
(set! (height node) (default-height node)))
;; Build an initial bounding box.
+ (vec2-copy! (position node) (render-position node))
(refresh-local-matrix node)
(refresh-bounding-box node))