Recalculate port positions when zoom levels change