### Godot version

4.0.dev(0810ecaafdbee3ea747219e6ab3a8de5d2216a09)

### System information

any

### Issue description

https://user-images.githubusercontent.com/61938263/215898051-8506b45e-a9d4-4c3f-b1b3-28f202dea67b.mp4



### Steps to reproduce

Editt AnimationBlendTree

### Minimal reproduction project

N/A
if (!is_node_hover_valid(connecting_from, connecting_index, gn->get_name(), j)) {
								continue;
							}
							connecting_target = true;
							connecting_to = pos;
							connecting_target_to = gn->get_name();
							connecting_target_index = j;
							return;
						}
					}
				}
			}
		}
	}
	if (mb.is_valid() && mb->get_button_index() == MouseButton::LEFT && !mb->is_pressed()) {
		if (connecting_valid) {
			if (connecting && connecting_target) {
				if (connecting_out) {
					emit_signal(SNAME("connection_request"), connecting_from, connecting_index, connecting_target_to, connecting_target_index);
				} else {
					emit_signal(SNAME("connection_request"), connecting_target_to, connecting_target_index, connecting_from, connecting_index);
				}
			} else if (!just_disconnected) {
				if (connecting_out) {
					emit_signal(SNAME("connection_to_empty"), connecting_from, connecting_index, mb->get_position());
				} else {
					emit_signal(SNAME("connection_from_empty"), connecting_from, connecting_index, mb->get_position());
				}
			}
		}