Deformed lines using Weaverbird's Picture Frame

Hi there,

I am trying to create some simple frames for a grasshopper mesh shape using Weaverbird’s Picture Frame. For some reason the result is deformed even though the mesh is good. The deformation starts in a very early stage of the code (a surface transformed into a mesh using Mesh Brep).
Any solutions or suggestions?