We managed to replicate the problem of incorrect layout of the connector line. It has been logged under the ticket ID DIAGRAMJAVA-50521 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates. We are sorry for the inconvenience caused.
We can set the appearance of the connecting line, but it is not working in your scenario:
// set dynamic connector appearance