Correctly snap connections when shift is pressed