### Godot version

4.0 beta 15

### System information

Window 10

### Issue description


![image](https://user-images.githubusercontent.com/186786/214567744-630b15d3-e59a-4143-b42b-4cdd852c0ce3.png)

If you're using Google IME, the IME is located in the lower left corner of the window. (MS-IME was the correct placement)
I also tried with Beta14 and the Google IME was positioned correctly. In other words, it's a bug that's happening in Beta15.
The same applies to input fields such as search boxes.

**↓Beta14**

![image](https://user-images.githubusercontent.com/186786/214567843-defb21cb-aff8-4cf9-b4ca-f53368f5f553.png)


### Steps to reproduce

The situation is the same for all places where characters can be entered.
![image](https://user-images.githubusercontent.com/186786/214568357-97c8a8de-ce49-463c-87c8-86fbdfaa254a.png)


### Minimal reproduction project

It doesn't depend on the project and happens when using Google IME in the beta 15 editor.
case WM_INPUT: {
			if (mouse_mode != MOUSE_MODE_CAPTURED || !use_raw_input) {
				break;
			}
			UINT dwSize;
			GetRawInputData((HRAWINPUT)lParam, RID_INPUT, nullptr, &dwSize, sizeof(RAWINPUTHEADER));
			LPBYTE lpb = new BYTE[dwSize];
			if (lpb == nullptr) {
				return 0;
			}
			if (GetRawInputData((HRAWINPUT)lParam, RID_INPUT, lpb, &dwSize, sizeof(RAWINPUTHEADER)) != dwSize) {
				OutputDebugString(TEXT("GetRawInputData does not return correct size !\n"));
			}
			RAWINPUT *raw = (RAWINPUT *)lpb;
			if (raw->header.dwType == RIM_TYPEMOUSE) {
				Ref<InputEventMouseMotion> mm;
				mm.instantiate();
				mm->set_window_id(window_id);
				mm->set_ctrl_pressed(control_mem);
				mm->set_shift_pressed(shift_mem);
				mm->set_alt_pressed(alt_mem);
				mm->set_pressure((raw->data.mouse.ulButtons & RI_MOUSE_LEFT_BUTTON_DOWN) ? 1.0f : 0.0f);
				mm->set_button_mask(last_button_state);
				Point2i c(windows[window_id].width / 2, windows[window_id].height / 2);
				
				POINT pos = { (int)c.x, (int)c.y };
				ClientToScreen(windows[window_id].hWnd, &pos);
				SetCursorPos(pos.x, pos.y);
				mm->set_position(c);
				mm->set_global_position(c);