### Godot version

Godot 4-beta10

### System information

Linux, KDE Neon, OpenGL3, Mesa Intel(R) UHD Graphics (CML GT2)

### Issue description

I can't move to Animation player when I open a AnimatedSprite

See the video:
https://youtu.be/_nyN42rNlTw


### Steps to reproduce

- Open Scene GPlayer
- Select Idle (Animation player) node
- Select Body (Animation sprite) node
- Select animation in bottom tab

### Minimal reproduction project

You can test in my game is open source and don't have many files 👍🏻 

[the-zero-day.zip](https://github.com/godotengine/godot/files/10304677/the-zero-day.zip)

String error;
	if (p_name == "") {
		error = TTR("Metadata name can't be empty.");
	} else if (!p_name.is_valid_identifier()) {
		error = TTR("Metadata name must be a valid identifier.");
	} else if (object->has_meta(p_name)) {
		error = vformat(TTR("Metadata with name \"%s\" already exists."), p_name);
	} else if (p_name[0] == '_') {
		error = TTR("Names starting with _ are reserved for editor-only metadata.");
	}
	if (error != "") {
		add_meta_error->add_theme_color_override("font_color", get_theme_color(SNAME("error_color"), SNAME("Editor")));
		add_meta_error->set_text(error);
		add_meta_dialog->get_ok_button()->set_disabled(true);
	} else {
		add_meta_error->add_theme_color_override("font_color", get_theme_color(SNAME("success_color"), SNAME("Editor")));
		add_meta_error->set_text(TTR("Metadata name is valid."));
		add_meta_dialog->get_ok_button()->set_disabled(false);
	}
}
void EditorInspector::_show_add_meta_dialog() {