Problem with connecting links to ports

We have an application where we connect GoLinks to From and ToPorts of GoIconicNodes programmatically as we load diagram information from our database. For some reason it seems that some of the ports are not fully connected to the corresponding links until we mouseover the port. On mouseover the links seems to connect to the ports. Any ideas on what might be the issue would be appreciated.

That’s sounds very unusual. Have you defined any MouseOver or Hover behavior?
What do you mean by “fully connected”? How can you tell?
Anything the user can do interactively you can do programmatically.