A large shape exists on which you have placed small shapes. When you try to connect them with other shapes, the connector routes around the large shape, instead of linking the beginning to the end.
Switch to the Developer mode, File- Options -Advanced - Run in developer mode. Select the large shape and on the Developer tab click Behavior button and select Placement tab in tne Behavior window. Select under Placement bahavior “Do not lay out and route around”.
If the large shape is a p4b object and you use it from stencil, than it is reasonable to perform this process for the master shape too.