### Tested versions

4.2.stable

### System information

Godot v4.2.stable - Windows 10.0.22621 - GLES3 (Compatibility) - D3D12 (Qualcomm(R) Adreno(TM) 685 GPU) () - Snapdragon (TM) 8cx Gen 2 @ 3.0 GHz (8 Threads)

### Issue description

well~ i have full interests in using godot engine and now i am a Chinese graduate which has more free time to learn it. but it seems that there is a bug when i use Godot 4.2 stable version - although the workspace might run well, i feel a bit confused when i **create a new project or add one node**, the places of settings will **show incorrectly** when i try to **maximize the setting window and restore it** (luckily, only show incorrectly, the settings can still run correctly).
i am using Windows 11 on ARM laptop to run Godot engine 3/4 - it can runs well in using OpenGL compatibility Pack in Microsoft Store (awesome!!! but of course, only GLES2/GLES3). but this bug **does not exist** in **Godot 4.1.3 stable version** or before (iMPORTANT...), and i have tried to restart many times, the bug didn't disappear. i will upload the main screenshot as well.
now i have rollbacked in Godot 4.1.3 stable. so i hope this bug can be solved in Godot 4.2.1 or as quickly as possible, or... i'd like to find everyone's help? (tears of joy~)

### Steps to reproduce

1. i try to create new project, or add one node.
2. i maximize the setting window.
3. i restore the setting window.
4. the places of settings show incorrectly.

### Minimal reproduction project (MRP)

it can appear when i try to create new project so there is no nessesary to upload a project.godot... maybe?
if (hdc) {
		Char16String s = p_title.utf16();
		SIZE text_size;
		if (GetTextExtentPoint32W(hdc, (LPCWSTR)(s.get_data()), s.length(), &text_size)) {
			size.x = text_size.cx;
			size.y = text_size.cy;
		}
		ReleaseDC(wd.hWnd, hdc);
	}
	RECT rect;
	if (DwmGetWindowAttribute(wd.hWnd, DWMWA_CAPTION_BUTTON_BOUNDS, &rect, sizeof(RECT)) == S_OK) {
		if (rect.right - rect.left > 0) {
			ClientToScreen(wd.hWnd, (POINT *)&rect.left);
			ClientToScreen(wd.hWnd, (POINT *)&rect.right);
			if (win81p_PhysicalToLogicalPointForPerMonitorDPI) {
				win81p_PhysicalToLogicalPointForPerMonitorDPI(0, (POINT *)&rect.left);
				win81p_PhysicalToLogicalPointForPerMonitorDPI(0, (POINT *)&rect.right);
			}
			size.x += (rect.right - rect.left);
			size.y = MAX(size.y, rect.bottom - rect.top);
		}
	}
	if (icon.is_valid()) {
		size.x += 32;
	} else {
		size.x += 16;
	}
	return size;
}
void DisplayServerWindows::window_set_mouse_passthrough(const Vector<Vector2> &p_region, WindowID p_window) {