Link not connecting to port

Hi,
I'm having issues with the links not connecting to the ports.
When I move the icon with links connected to, the links then connect properly.
Any new links to this icon would still connect to the middle of the icon until it is moved again.
For the “out” ports the links never connect.
Here is a snippet of my code:
<go:Diagram x:Name="myDiagram"
HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch"
Padding="2"
AllowDrop="True"
AllowDelete="True"
AllowCopy="False"
GridSnapCellSize="50 50"
GridSnapEnabled="True"
Grid.Column="0"
Model="{Binding Path=FlowSheet}"
NodeTemplateDictionary="{StaticResource NodeTemplatesFlowSheet}"
LinkTemplateDictionary="{StaticResource LinkTemplatesFlowSheet}"
LinkingTool="{Binding Path=LinkingTool}"
DraggingTool="{Binding Path=DraggingTool}"
DragSelectingTool="{Binding Path=DragSelectingTool}"
PanningTool="{Binding Path=PanningTool}"
LinkReshapingTool="{Binding Path=LinkingReshapingTool}" >
</Style>
<go:DataTemplateDictionary x:Key="NodeTemplatesFlowSheet">
</go:DataTemplateDictionary>

Thank you for the
help

never mind, I found the reason.

It has to do with the transparent port that only show with a mouse hover…