Error: Non-real measuredBounds has been set. Object Picture()#1159

does desiredSize correspond to the size parameter of makeSvg? I am not actually dealing with a Picture object or class., unless it is a SuperClass of what makeSvg produces.

This is what I am calling makeSvg with:

 img = confSheetDiagramRef.makeSvg({
        scale: 1,
                    details: 1,
        position: new go.Point(p.x + j, p.y + i),
        size: new go.Size(imgWidth, imgHeight)
      });

And i confirm that both the width and height are not NAN in the code before I make this call.

Can this type of error be thrown in another context otherthan make Images of Diagrams? Such as in the setup of the Diagram itself or when defining Node data or Node templates?