### 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.
bi.bV5Compression = BI_BITFIELDS;
		bi.bV5RedMask = 0x00ff0000;
		bi.bV5GreenMask = 0x0000ff00;
		bi.bV5BlueMask = 0x000000ff;
		bi.bV5AlphaMask = 0xff000000;
		HDC dc = GetDC(nullptr);
		HBITMAP bitmap = CreateDIBSection(dc, reinterpret_cast<BITMAPINFO *>(&bi), DIB_RGB_COLORS, reinterpret_cast<void **>(&buffer), nullptr, 0);
		HBITMAP mask = CreateBitmap(texture_size.width, texture_size.height, 1, 1, nullptr);
		bool fully_transparent = true;
		for (UINT index = 0; index < image_size; index++) {
			int row_index = floor(index / texture_size.width) + atlas_rect.position.y;
			int column_index = (index % int(texture_size.width)) + atlas_rect.position.x;
			if (atlas_texture.is_valid()) {
				column_index = MIN(column_index, atlas_rect.size.width - 1);
				row_index = MIN(row_index, atlas_rect.size.height - 1);
			}
			const Color &c = image->get_pixel(column_index, row_index);
			fully_transparent = fully_transparent && (c.a == 0.f);
			*(buffer + index) = c.to_argb32();
		}
		
		if (cursors[p_shape]) {
			DestroyIcon(cursors[p_shape]);
		}
		if (fully_transparent) {
			cursors[p_shape] = nullptr;
		} else {
			ICONINFO iconinfo;
			iconinfo.fIcon = FALSE;
			iconinfo.xHotspot = p_hotspot.x;