### 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_MBUTTONDOWN: {
				MOUSEHOOKSTRUCT *ms = (MOUSEHOOKSTRUCT *)lParam;
				Point2i pos = Point2i(ms->pt.x, ms->pt.y) - _get_screens_origin();
				List<WindowID>::Element *C = nullptr;
				List<WindowID>::Element *E = popup_list.back();
				
				while (E) {
					
					Rect2i win_rect = Rect2i(window_get_position(E->get()), window_get_size(E->get()));
					
					Rect2i safe_rect = window_get_popup_safe_rect(E->get());
					if (win_rect.has_point(pos)) {
						break;
					} else if (safe_rect != Rect2i() && safe_rect.has_point(pos)) {
						break;
					} else {
						C = E;
						E = E->prev();
					}
				}
				if (C) {
					_send_window_event(windows[C->get()], DisplayServerWindows::WINDOW_EVENT_CLOSE_REQUEST);
					return 1;
				}
			} break;
		}
	}
	return ::CallNextHookEx(mouse_monitor, code, wParam, lParam);
}
LRESULT DisplayServerWindows::_handle_early_window_message(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {