### Godot version

4.0 beta 15

### System information

Windows 10

### Issue description

It happened with both Google IME and MS-IME, and there was no problem until Beta14.
When typing Japanese characters, it is common to select a character from the suggestion window and then start typing the next character before confirming.
In this case, uncommitted characters are forcibly committed, and input of the next character begins.

**↓Beta15**

https://user-images.githubusercontent.com/186786/214753450-b493cca6-2644-4b3d-8cd2-660565cc3547.mp4

**↓Beta14**

https://user-images.githubusercontent.com/186786/214755127-dde819cc-4d63-403a-99b0-09821671f74e.mp4



### Steps to reproduce

It happened with both Google IME and MS-IME in beta15

### Minimal reproduction project

It is project independent and happens in the editor.
Control::_update_theme_item_cache();
	theme_cache.normal = get_theme_stylebox(SNAME("normal"));
	theme_cache.read_only = get_theme_stylebox(SNAME("read_only"));
	theme_cache.focus = get_theme_stylebox(SNAME("focus"));
	theme_cache.font = get_theme_font(SNAME("font"));
	theme_cache.font_size = get_theme_font_size(SNAME("font_size"));
	theme_cache.font_color = get_theme_color(SNAME("font_color"));
	theme_cache.font_uneditable_color = get_theme_color(SNAME("font_uneditable_color"));
	theme_cache.font_selected_color = get_theme_color(SNAME("font_selected_color"));
	theme_cache.font_outline_size = get_theme_constant(SNAME("outline_size"));
	theme_cache.font_outline_color = get_theme_color(SNAME("font_outline_color"));
	theme_cache.font_placeholder_color = get_theme_color(SNAME("font_placeholder_color"));
	theme_cache.caret_width = get_theme_constant(SNAME("caret_width"));
	theme_cache.caret_color = get_theme_color(SNAME("caret_color"));
	theme_cache.minimum_character_width = get_theme_constant(SNAME("minimum_character_width"));
	theme_cache.selection_color = get_theme_color(SNAME("selection_color"));
	theme_cache.clear_icon = get_theme_icon(SNAME("clear"));
	theme_cache.clear_button_color = get_theme_color(SNAME("clear_button_color"));
	theme_cache.clear_button_color_pressed = get_theme_color(SNAME("clear_button_color_pressed"));
	theme_cache.base_scale = get_theme_default_base_scale();
}
void LineEdit::_notification(int p_what) {
	switch (p_what) {
#ifdef TOOLS_ENABLED
		case NOTIFICATION_ENTER_TREE: {
			if (Engine::get_singleton()->is_editor_hint() && !get_tree()->is_node_being_edited(this)) {
				set_caret_blink_enabled(EDITOR_GET("text_editor/appearance/caret/caret_blink"));
				set_caret_blink_interval(EDITOR_GET("text_editor/appearance/caret/caret_blink_interval"));