Strange line pops up in layout-mode

In Detail-mode:

In Layout-mode (And also in the print)

How can this happen?

Show your pattern file.

It looks like the program is trying to complete a closed path, from B17b4b5 back to the first point B12.

I have published fix. Should works now.

@d-old You rock.