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

.
Rect2 get_screen_rect() const;
	Rect2 get_anchorable_rect() const override;
	void set_scale(const Vector2 &p_scale);
	Vector2 get_scale() const;
	void set_rotation(real_t p_radians);
	void set_rotation_degrees(real_t p_degrees);
	real_t get_rotation() const;
	real_t get_rotation_degrees() const;
	void set_pivot_offset(const Vector2 &p_pivot);
	Vector2 get_pivot_offset() const;
	void update_minimum_size();
	void set_block_minimum_size_adjust(bool p_block);
	bool is_minimum_size_adjust_blocked() const;
	virtual Size2 get_minimum_size() const;
	virtual Size2 get_combined_minimum_size() const;
	void set_custom_minimum_size(const Size2 &p_custom);
	Size2 get_custom_minimum_size() const;
	
	void set_h_size_flags(BitField<SizeFlags> p_flags);
	BitField<SizeFlags> get_h_size_flags() const;
	void set_v_size_flags(BitField<SizeFlags> p_flags);
	BitField<SizeFlags> get_v_size_flags() const;
	void set_stretch_ratio(real_t p_ratio);
	real_t get_stretch_ratio() const;
	
	virtual void gui_input(const Ref<InputEvent> &p_event);
	void accept_event();
	virtual bool has_point(const Point2 &p_point) const;
	void set_mouse_filter(MouseFilter p_filter);
	MouseFilter get_mouse_filter() const;