### 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 
if (status == XBufferOverflow) {
			utf8len = utf8bytes + 1;
			utf8string = (char *)memrealloc(utf8string, utf8len);
			utf8bytes = Xutf8LookupString(wd.xic, xkeyevent, utf8string,
					utf8len - 1, &keysym_unicode, &status);
		}
		utf8string[utf8bytes] = '\0';
		if (status == XLookupChars) {
			bool keypress = xkeyevent->type == KeyPress;
			Key keycode = KeyMappingX11::get_keycode(keysym_keycode);
			Key physical_keycode = KeyMappingX11::get_scancode(xkeyevent->keycode);
			if (keycode >= Key::A + 32 && keycode <= Key::Z + 32) {
				keycode -= 'a' - 'A';
			}
			String tmp;
			tmp.parse_utf8(utf8string, utf8bytes);
			for (int i = 0; i < tmp.length(); i++) {
				Ref<InputEventKey> k;
				k.instantiate();
				if (physical_keycode == Key::NONE && keycode == Key::NONE && tmp[i] == 0) {
					continue;
				}
				if (keycode == Key::NONE) {
					keycode = (Key)physical_keycode;
				}
				_get_key_modifier_state(xkeyevent->state, k);
				k->set_window_id(p_window);
				k->set_pressed(keypress);
				k->set_keycode(keycode);
				k->set_physical_keycode(physical_keycode);