diff --git a/src/Node.ts b/src/Node.ts index 86300cfc..5f445d17 100644 --- a/src/Node.ts +++ b/src/Node.ts @@ -2488,8 +2488,8 @@ export abstract class Node { const screenRect = { x: -margin.x, y: -margin.y, - width: stage.width() + margin.x, - height: stage.height() + margin.y, + width: stage.width() + 2 * margin.x, + height: stage.height() + 2 * margin.y, }; return Util.haveIntersection(screenRect, this.getClientRect()); }