### 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)

break;
					}
					scr = scr->get_base_script();
				}
				if (category->icon.is_null() && has_theme_icon(base_type, SNAME("EditorIcons"))) {
					category->icon = get_theme_icon(base_type, SNAME("EditorIcons"));
				}
			}
			if (category->icon.is_null()) {
				if (!type.is_empty()) { 
					category->icon = EditorNode::get_singleton()->get_class_icon(type, "Object");
				}
			}
			
			category->label = label;
			if (use_doc_hints) {
				
				if (!class_descr_cache.has(doc_name)) {
					String descr;
					DocTools *dd = EditorHelp::get_doc_data();
					HashMap<String, DocData::ClassDoc>::Iterator E = dd->class_list.find(doc_name);
					if (E) {
						descr = DTR(E->value.brief_description);
					}
					class_descr_cache[doc_name] = descr;
				}
				category->set_tooltip_text(p.name + "::" + (class_descr_cache[doc_name].is_empty() ? "" : class_descr_cache[doc_name]));
			}
			
			for (Ref<EditorInspectorPlugin> &ped : valid_plugins) {