### Godot version

v4.0.3.stable.official [5222a99f5]

### System information

windows 10 v4.0.3.stable.official [5222a99f5] - Compatibility

### Issue description

When renaming a node, Microsoft Pinyin input method cannot be switched to Chinese.
But nodes can actually be named in Chinese. We can only do this by copying strings from Notepad and pasting them into the renamed text box.
(It's worth noting that I used Shift to switch between Microsoft Pinyin and English.)

### Steps to reproduce

Rename a node

### Minimal reproduction project

none
Size2i DisplayServerWindows::window_get_size(WindowID p_window) const {
	_THREAD_SAFE_METHOD_
	ERR_FAIL_COND_V(!windows.has(p_window), Size2i());
	const WindowData &wd = windows[p_window];
	
	if (wd.minimized) {
		return Size2(wd.width, wd.height);
	}
	RECT r;
	if (GetClientRect(wd.hWnd, &r)) { 
		return Size2(r.right - r.left, r.bottom - r.top);
	}
	return Size2();
}
Size2i DisplayServerWindows::window_get_size_with_decorations(WindowID p_window) const {
	_THREAD_SAFE_METHOD_
	ERR_FAIL_COND_V(!windows.has(p_window), Size2i());
	const WindowData &wd = windows[p_window];
	RECT r;
	if (GetWindowRect(wd.hWnd, &r)) { 
		return Size2(r.right - r.left, r.bottom - r.top);
	}
	return Size2();
}
void DisplayServerWindows::_get_window_style(bool p_main_window, bool p_fullscreen, bool p_multiwindow_fs, bool p_borderless, bool p_resizable, bool p_maximized, bool p_no_activate_focus, DWORD &r_style, DWORD &r_style_ex) {
	
	
	
	r_style = 0;
	r_style_ex = WS_EX_WINDOWEDGE;