### 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.
}
			if (wParam != WA_INACTIVE) {
				track_mouse_leave_event(hWnd);
			}
			return 0; 
		} break;
		case WM_GETMINMAXINFO: {
			if (windows[window_id].resizable && !windows[window_id].fullscreen) {
				
				Size2 decor = window_get_size_with_decorations(window_id) - window_get_size(window_id);
				MINMAXINFO *min_max_info = (MINMAXINFO *)lParam;
				if (windows[window_id].min_size != Size2()) {
					min_max_info->ptMinTrackSize.x = windows[window_id].min_size.x + decor.x;
					min_max_info->ptMinTrackSize.y = windows[window_id].min_size.y + decor.y;
				}
				if (windows[window_id].max_size != Size2()) {
					min_max_info->ptMaxTrackSize.x = windows[window_id].max_size.x + decor.x;
					min_max_info->ptMaxTrackSize.y = windows[window_id].max_size.y + decor.y;
				}
				return 0;
			}
		} break;
		case WM_ERASEBKGND: {
			Color early_color;
			if (!_get_window_early_clear_override(early_color)) {
				break;
			}
			bool must_recreate_brush = !window_bkg_brush || window_bkg_brush_color != early_color.to_argb32();
			if (must_recreate_brush) {
				if (window_bkg_brush) {