### Godot version

v4.0.beta15.official [4fa6edc88] and v4.0.beta.custom_build [1bf7b84fb]

### System information

openSUSE Tumbleweed 20230125, KDE Plasma 5.26.5, Wayland session

### Issue description

https://user-images.githubusercontent.com/110809639/214688115-ce2c8f95-3849-4ee5-b6be-f8e58dbd8036.mp4

It's not possible to rename any node while using wayland session under my linux distro. Using Godot 4 beta15. Tried changing keyboard layout and same result. If I swith to X11 session then it works. Also beta14 doesn't have this problem with wayland session.

### Steps to reproduce

Literally try to rename any node under wayland session with beta15

### Minimal reproduction project

n/a
theme_cache.v_separation = get_theme_constant(SNAME("v_separation"));
	theme_cache.h_separation = get_theme_constant(SNAME("h_separation"));
	theme_cache.indent = get_theme_constant(SNAME("indent"));
	theme_cache.item_start_padding = get_theme_constant(SNAME("item_start_padding"));
	theme_cache.item_end_padding = get_theme_constant(SNAME("item_end_padding"));
	theme_cache.checked = get_theme_icon(SNAME("checked"));
	theme_cache.checked_disabled = get_theme_icon(SNAME("checked_disabled"));
	theme_cache.unchecked = get_theme_icon(SNAME("unchecked"));
	theme_cache.unchecked_disabled = get_theme_icon(SNAME("unchecked_disabled"));
	theme_cache.radio_checked = get_theme_icon(SNAME("radio_checked"));
	theme_cache.radio_checked_disabled = get_theme_icon(SNAME("radio_checked_disabled"));
	theme_cache.radio_unchecked = get_theme_icon(SNAME("radio_unchecked"));
	theme_cache.radio_unchecked_disabled = get_theme_icon(SNAME("radio_unchecked_disabled"));
	theme_cache.submenu = get_theme_icon(SNAME("submenu"));
	theme_cache.submenu_mirrored = get_theme_icon(SNAME("submenu_mirrored"));
	theme_cache.font = get_theme_font(SNAME("font"));
	theme_cache.font_size = get_theme_font_size(SNAME("font_size"));
	theme_cache.font_separator = get_theme_font(SNAME("font_separator"));
	theme_cache.font_separator_size = get_theme_font_size(SNAME("font_separator_size"));
	theme_cache.font_color = get_theme_color(SNAME("font_color"));
	theme_cache.font_hover_color = get_theme_color(SNAME("font_hover_color"));
	theme_cache.font_disabled_color = get_theme_color(SNAME("font_disabled_color"));
	theme_cache.font_accelerator_color = get_theme_color(SNAME("font_accelerator_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_separator_color = get_theme_color(SNAME("font_separator_color"));
	theme_cache.font_separator_outline_size = get_theme_constant(SNAME("separator_outline_size"));
	theme_cache.font_separator_outline_color = get_theme_color(SNAME("font_separator_outline_color"));
}
void PopupMenu::_notification(int p_what) {