### 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
if (texture == p_tex) {
		return;
	}
	texture = p_tex;
	queue_redraw();
	update_minimum_size();
	emit_signal(SceneStringNames::get_singleton()->texture_changed);
}
Ref<Texture2D> NinePatchRect::get_texture() const {
	return texture;
}
void NinePatchRect::set_patch_margin(Side p_side, int p_size) {