### Godot version

v4.1.dev4.official [5c2295ff5]

### System information

Godot v4.1.dev4 - Windows 10.0.19044 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 (NVIDIA; 30.0.14.9709) - Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz (6 Threads)

### Issue description

The RGB sliders of color picker don't lose focus correctly, causing them to keep moving even after the mouse button is released.

Note: Does not reproduce with v4.0.3 nor v4.1.dev3

### Steps to reproduce

Open any color picker and click once on any of the RGB sliders. Release LMB and move the mouse over the slider. Notice it still responds to input.
If additional sliders are clicked, all of them keep moving when the mouse hovers over them, until the color picker is closed.

### Minimal reproduction project

N/A
if ((this != p_original) && !(p_original->is_ancestor_of(this))) {
		return;
	}
	List<const Node *> process_list;
	process_list.push_back(this);
	while (!process_list.is_empty()) {
		const Node *n = process_list.front()->get();
		process_list.pop_front();
		List<Connection> conns;
		n->get_all_signal_connections(&conns);
		for (const Connection &E : conns) {
			if (E.flags & CONNECT_PERSIST) {
				//user connected
				NodePath p = p_original->get_path_to(n);
				Node *copy = p_copy->get_node(p);
				Node *target = Object::cast_to<Node>(E.callable.get_object());
				if (!target) {
					continue;
				}