protected Rectangle getObjectRectangle()
    {
        boolean found = false;
        Rectangle r = new Rectangle(0, 0, 0, 0);

        for (LevelItem i : objs)
        {
            if(!(i instanceof NSMBObject))
                continue;
                
            NSMBObject o = (NSMBObject) i;

            if (found)
                Rectangle.union(r, o.getBlockRect(), r);
            else
                r = o.getBlockRect();
            found = true;
        }

        return r;
    }