Fix for connection drag when zoom is not 1