### 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 
bool keypress = xkeyevent->type == KeyPress;
	if (physical_keycode == Key::NONE && keycode == Key::NONE && unicode == 0) {
		return;
	}
	if (keycode == Key::NONE) {
		keycode = (Key)physical_keycode;
	}
	
	
	
	
	
	Ref<InputEventKey> k;
	k.instantiate();
	k->set_window_id(p_window);
	_get_key_modifier_state(xkeyevent->state, k);
	
	
	
	
	
	if (xkeyevent->type != KeyPress) {
		p_echo = false;