Render ports at correct positions.
Merge pull request #77 from pbidenko/CbnRender

Render ports at correct positions.