### 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
#ifndef NINE_PATCH_RECT_H
#define NINE_PATCH_RECT_H
#include "scene/gui/control.h"
class NinePatchRect : public Control {
	GDCLASS(NinePatchRect, Control);
public:
	enum AxisStretchMode {
		AXIS_STRETCH_MODE_STRETCH,
		AXIS_STRETCH_MODE_TILE,
		AXIS_STRETCH_MODE_TILE_FIT,