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

.
const int *font_size = data.theme_font_size_override.getptr(p_name);
	return font_size != nullptr;
}
bool Control::has_theme_color_override(const StringName &p_name) const {
	const Color *color = data.theme_color_override.getptr(p_name);
	return color != nullptr;
}
bool Control::has_theme_constant_override(const StringName &p_name) const {
	const int *constant = data.theme_constant_override.getptr(p_name);
	return constant != nullptr;
}
float Control::get_theme_default_base_scale() const {
	return data.theme_owner->get_theme_default_base_scale();
}
Ref<Font> Control::get_theme_default_font() const {
	return data.theme_owner->get_theme_default_font();
}
int Control::get_theme_default_font_size() const {
	return data.theme_owner->get_theme_default_font_size();
}
void Control::begin_bulk_theme_override() {
	data.bulk_theme_override = true;
}
void Control::end_bulk_theme_override() {
	ERR_FAIL_COND(!data.bulk_theme_override);
	data.bulk_theme_override = false;
	_notify_theme_override_changed();
}
TypedArray<Vector2i> Control::structured_text_parser(TextServer::StructuredTextParser p_parser_type, const Array &p_args, const String &p_text) const {