### 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
};
	if (cursors_cache.has(p_shape)) {
		SetCursor(cursors[p_shape]);
	} else {
		SetCursor(LoadCursor(hInstance, win_cursors[p_shape]));
	}
	cursor_shape = p_shape;
}
DisplayServer::CursorShape DisplayServerWindows::cursor_get_shape() const {
	return cursor_shape;
}
void DisplayServerWindows::cursor_set_custom_image(const Ref<Resource> &p_cursor, CursorShape p_shape, const Vector2 &p_hotspot) {
	_THREAD_SAFE_METHOD_
	ERR_FAIL_INDEX(p_shape, CURSOR_MAX);
	if (p_cursor.is_valid()) {
		RBMap<CursorShape, Vector<Variant>>::Element *cursor_c = cursors_cache.find(p_shape);
		if (cursor_c) {
			if (cursor_c->get()[0] == p_cursor && cursor_c->get()[1] == p_hotspot) {
				cursor_set_shape(p_shape);
				return;
			}
			cursors_cache.erase(p_shape);
		}
		Ref<Texture2D> texture = p_cursor;
		ERR_FAIL_COND(!texture.is_valid());
		Ref<AtlasTexture> atlas_texture = p_cursor;
		Size2 texture_size;
		Rect2 atlas_rect;
		if (atlas_texture.is_valid()) {
			texture = atlas_texture->get_atlas();