diff --git a/common/src/app/common/geom/shapes/modifiers.cljc b/common/src/app/common/geom/shapes/modifiers.cljc index 15cfdd9c09..9b859a5aec 100644 --- a/common/src/app/common/geom/shapes/modifiers.cljc +++ b/common/src/app/common/geom/shapes/modifiers.cljc @@ -132,7 +132,7 @@ children (cph/get-immediate-children objects shape-id)] (cond - (cph/mask-shape? shape) + (and (cph/mask-shape? shape) (seq children)) (get-group-bounds objects bounds modif-tree (-> children first)) (cph/group-shape? shape)