### Godot version

4.0.dev(0810ecaafdbee3ea747219e6ab3a8de5d2216a09)

### System information

any

### Issue description

https://user-images.githubusercontent.com/61938263/215898051-8506b45e-a9d4-4c3f-b1b3-28f202dea67b.mp4



### Steps to reproduce

Editt AnimationBlendTree

### Minimal reproduction project

N/A
switch (p_what) {
		case NOTIFICATION_ENTER_TREE:
		case NOTIFICATION_THEME_CHANGED: {
			port_hotzone_inner_extent = get_theme_constant("port_hotzone_inner_extent");
			port_hotzone_outer_extent = get_theme_constant("port_hotzone_outer_extent");
			zoom_minus->set_icon(get_theme_icon(SNAME("minus")));
			zoom_reset->set_icon(get_theme_icon(SNAME("reset")));
			zoom_plus->set_icon(get_theme_icon(SNAME("more")));
			snap_button->set_icon(get_theme_icon(SNAME("snap")));
			minimap_button->set_icon(get_theme_icon(SNAME("minimap")));
			layout_button->set_icon(get_theme_icon(SNAME("layout")));
			zoom_label->set_custom_minimum_size(Size2(48, 0) * get_theme_default_base_scale());
		} break;
		case NOTIFICATION_READY: {
			Size2 hmin = h_scroll->get_combined_minimum_size();
			Size2 vmin = v_scroll->get_combined_minimum_size();
			h_scroll->set_anchor_and_offset(SIDE_LEFT, ANCHOR_BEGIN, 0);
			h_scroll->set_anchor_and_offset(SIDE_RIGHT, ANCHOR_END, 0);
			h_scroll->set_anchor_and_offset(SIDE_TOP, ANCHOR_END, -hmin.height);
			h_scroll->set_anchor_and_offset(SIDE_BOTTOM, ANCHOR_END, 0);
			v_scroll->set_anchor_and_offset(SIDE_LEFT, ANCHOR_END, -vmin.width);
			v_scroll->set_anchor_and_offset(SIDE_RIGHT, ANCHOR_END, 0);
			v_scroll->set_anchor_and_offset(SIDE_TOP, ANCHOR_BEGIN, 0);
			v_scroll->set_anchor_and_offset(SIDE_BOTTOM, ANCHOR_END, 0);