Update instance shape organization.

To correctly display anchors, they need to be contained in an active parent.
Anchors for squre ports have been moved to root, and ports texts are still
displayed in an invisible rectangle.

Minor bugs have been fixed
Allow connection between 2 ports
Connections are now visible