### Godot version

Godot 4 Beta 16

### System information

Ubuntu 22.04 Running on Vulkan Mesa Intel® UHD Graphics 620 (WHL GT2)

### Issue description


https://user-images.githubusercontent.com/63069499/215583979-e525a1fd-930f-4650-8e9f-3752100cdb72.mp4

Godot keeps clicking out of the color editor

EDIT: I did a test it seems to be single window mode

### Steps to reproduce

Go in editor settings and search for single window mode 

Enable it

Try using the color editor on any color field with single window mode

### Minimal reproduction project

N/A 
}
		} else {
			time_since_no_focus = OS::get_singleton()->get_ticks_msec();
		}
	}
	do_mouse_warp = false;
	
	bool mouse_mode_grab = mouse_mode == MOUSE_MODE_CAPTURED || mouse_mode == MOUSE_MODE_CONFINED || mouse_mode == MOUSE_MODE_CONFINED_HIDDEN;
	xi.pressure = 0;
	xi.tilt = Vector2();
	xi.pressure_supported = false;
	LocalVector<XEvent> events;
	{
		
		MutexLock mutex_lock(events_mutex);
		events = polled_events;
		polled_events.clear();
		
		_check_pending_events(events);
	}
	for (uint32_t event_index = 0; event_index < events.size(); ++event_index) {
		XEvent &event = events[event_index];
		if (ignore_events) {
			XFreeEventData(x11_display, &event.xcookie);
			continue;
		}
		bool ime_window_event = false;
		WindowID window_id = MAIN_WINDOW_ID;
		
		for (const KeyValue<WindowID, WindowData> &E : windows) {