### Godot version

4.0 beta 11

### System information

Windows 10

### Issue description

Anchors presets are ignored, sometimes they work if you manually modify the size of the node using the handles.

### Steps to reproduce

Simple test, open new scene, base node is Control, try to set the full rect preset, nothing happens. then just try out different stuff with different nodes and hierarchies, it barely works.

### Minimal reproduction project

.
bool minimum_size_valid = false;
		Size2 last_minimum_size;
		bool updating_last_minimum_size = false;
		bool block_minimum_size_adjust = false;
		bool size_warning = true;
		
		BitField<SizeFlags> h_size_flags = SIZE_FILL;
		BitField<SizeFlags> v_size_flags = SIZE_FILL;
		real_t expand = 1.0;
		Point2 custom_minimum_size;
		
		MouseFilter mouse_filter = MOUSE_FILTER_STOP;
		bool force_pass_scroll_events = true;
		bool clip_contents = false;
		bool disable_visibility_clip = false;
		CursorShape default_cursor = CURSOR_ARROW;
		
		NodePath focus_neighbor[4];
		NodePath focus_next;
		NodePath focus_prev;
		ObjectID shortcut_context;
		
		ThemeOwner *theme_owner = nullptr;
		Ref<Theme> theme;
		StringName theme_type_variation;
		bool bulk_theme_override = false;
		Theme::ThemeIconMap theme_icon_override;
		Theme::ThemeStyleMap theme_style_override;
		Theme::ThemeFontMap theme_font_override;
		Theme::ThemeFontSizeMap theme_font_size_override;