diff --git a/src/item/Item.js b/src/item/Item.js index f4f80205..813a1e3e 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -874,7 +874,9 @@ var Item = this.Item = Base.extend(Callback, { y2 = Math.max(rect.y + rect.height, y2); } } - return Rectangle.create(x1, y1, x2 - x1, y2 - y1); + return isFinite(x1) + ? Rectangle.create(x1, y1, x2 - x1, y2 - y1) + : new Rectangle(); }, setBounds: function(rect) {