### Godot version

4.2 Beta5

### System information

Win 10 Nvidea

### Issue description


https://github.com/godotengine/godot/assets/47016402/f8a4ce1b-505c-433d-bbcf-541eaf3a81be



### Steps to reproduce

1. Go to the Inspector and click the + to add Metadata
2. Give it a name and chose the Resource type
3. Then click on "empty" to chose the Resource you want 
4. Observe how you can't scroll the list (neither with scroll wheel nor scrollbar), and also can't search the list or jump to sections with the keyboard by typing the name of the resource
5. Observe how the Inspector in the background is scrolled instead

### Minimal reproduction project

N/A MRP not required and faster to test without.
case WINDOW_FLAG_TRANSPARENT: {
			return wd.layered_window;
		} break;
		case WINDOW_FLAG_NO_FOCUS: {
			return wd.no_focus;
		} break;
		case WINDOW_FLAG_MOUSE_PASSTHROUGH: {
			return wd.mpass;
		} break;
		case WINDOW_FLAG_POPUP: {
			return wd.is_popup;
		} break;
		default:
			break;
	}
	return false;
}
void DisplayServerWindows::window_request_attention(WindowID p_window) {
	_THREAD_SAFE_METHOD_
	ERR_FAIL_COND(!windows.has(p_window));
	const WindowData &wd = windows[p_window];
	FLASHWINFO info;
	info.cbSize = sizeof(FLASHWINFO);
	info.hwnd = wd.hWnd;
	info.dwFlags = FLASHW_ALL;
	info.dwTimeout = 0;
	info.uCount = 2;
	FlashWindowEx(&info);
}
void DisplayServerWindows::window_move_to_foreground(WindowID p_window) {