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

.
virtual Dictionary _edit_get_state() const override;
	virtual void _edit_set_state(const Dictionary &p_state) override;
	virtual void _edit_set_position(const Point2 &p_position) override;
	virtual Point2 _edit_get_position() const override;
	virtual void _edit_set_scale(const Size2 &p_scale) override;
	virtual Size2 _edit_get_scale() const override;
	virtual void _edit_set_rect(const Rect2 &p_edit_rect) override;
	virtual Rect2 _edit_get_rect() const override;
	virtual bool _edit_use_rect() const override;
	virtual void _edit_set_rotation(real_t p_rotation) override;
	virtual real_t _edit_get_rotation() const override;
	virtual bool _edit_use_rotation() const override;
	virtual void _edit_set_pivot(const Point2 &p_pivot) override;
	virtual Point2 _edit_get_pivot() const override;
	virtual bool _edit_use_pivot() const override;
	virtual Size2 _edit_get_minimum_size() const override;
#endif
	virtual void reparent(Node *p_parent, bool p_keep_global_transform = true) override;
	
	virtual void get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const override;
	PackedStringArray get_configuration_warnings() const override;
	virtual bool is_text_field() const;
	
	bool is_top_level_control() const;
	Control *get_parent_control() const;
	Window *get_parent_window() const;
	Control *get_root_parent_control() const;
	Size2 get_parent_area_size() const;
	Rect2 get_parent_anchorable_rect() const;