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

.
return true;
}
void Control::_edit_set_rotation(real_t p_rotation) {
	set_rotation(p_rotation);
}
real_t Control::_edit_get_rotation() const {
	return get_rotation();
}
bool Control::_edit_use_rotation() const {
	return true;
}
void Control::_edit_set_pivot(const Point2 &p_pivot) {
	Vector2 delta_pivot = p_pivot - get_pivot_offset();
	Vector2 move = Vector2((cos(data.rotation) - 1.0) * delta_pivot.x - sin(data.rotation) * delta_pivot.y, sin(data.rotation) * delta_pivot.x + (cos(data.rotation) - 1.0) * delta_pivot.y);
	set_position(get_position() + move);
	set_pivot_offset(p_pivot);
}
Point2 Control::_edit_get_pivot() const {
	return get_pivot_offset();
}
bool Control::_edit_use_pivot() const {
	return true;
}
Size2 Control::_edit_get_minimum_size() const {
	return get_combined_minimum_size();
}
#endif
void Control::reparent(Node *p_parent, bool p_keep_global_transform) {