### Godot version

v4.1.beta1.mono.official [828ec2c5d]

### System information

Kubuntu 22.04 Compatability

### Issue description

As funky as it sounds I tried using a atlas texture as the texture for a nice patch and discovered that the nine patch is not updated in the scene when the atlas texture region is changed 

### Steps to reproduce

- Add a altas texture to the nice patch node
- Mess with the atlas texture's region property (not the nice slices region property)
- See it doesn't update in the scene


### Minimal reproduction project

I will upload one if needed as it stand it seems like a very simple thing to reproduce
};
	bool draw_center = true;
	int margin[4] = {};
	Rect2 region_rect;
	Ref<Texture2D> texture;
	AxisStretchMode axis_h = AXIS_STRETCH_MODE_STRETCH;
	AxisStretchMode axis_v = AXIS_STRETCH_MODE_STRETCH;
protected:
	void _notification(int p_what);
	virtual Size2 get_minimum_size() const override;
	static void _bind_methods();
public:
	void set_texture(const Ref<Texture2D> &p_tex);
	Ref<Texture2D> get_texture() const;
	void set_patch_margin(Side p_side, int p_size);
	int get_patch_margin(Side p_side) const;
	void set_region_rect(const Rect2 &p_region_rect);
	Rect2 get_region_rect() const;
	void set_draw_center(bool p_enabled);
	bool is_draw_center_enabled() const;
	void set_h_axis_stretch_mode(AxisStretchMode p_mode);
	AxisStretchMode get_h_axis_stretch_mode() const;
	void set_v_axis_stretch_mode(AxisStretchMode p_mode);
	AxisStretchMode get_v_axis_stretch_mode() const;
	NinePatchRect();
	~NinePatchRect();
};
VARIANT_ENUM_CAST(NinePatchRect::AxisStretchMode)
#endif