Fix port label positioning when zoomed