### Godot version

4.0.1.official

### System information

Windows 10

### Issue description

I wanted to use a multiple atlas textures to crop out a character from a tilemap while saving all animations in one atlas texture and having other atlas textures inherit the first one and crop out the induvidual frames.

But opening the region editor after using the created atlas texture in the new atlas texture shows the original texture scaled to the size of the cropped texture. Using the editor and setting the correct values works just fine and the preview shows the correct result.

Result:
![screenshot](https://user-images.githubusercontent.com/50096015/227557377-da899d85-f7b7-43f1-847c-79f8b27a64ef.png)


### Steps to reproduce

- Open MRP
- Open "character_sprite_1.tres"
- Click on "Edit Region"

### Minimal reproduction project

[AtlasBug.zip](https://github.com/godotengine/godot/files/11063481/AtlasBug.zip)

Ref<StyleBoxTexture> style(memnew(StyleBoxTexture));
	style->set_texture(p_texture);
	style->set_texture_margin_individual(p_left * EDSCALE, p_top * EDSCALE, p_right * EDSCALE, p_bottom * EDSCALE);
	style->set_content_margin_individual((p_left + p_margin_left) * EDSCALE, (p_top + p_margin_top) * EDSCALE, (p_right + p_margin_right) * EDSCALE, (p_bottom + p_margin_bottom) * EDSCALE);
	style->set_draw_center(p_draw_center);
	return style;
}
static Ref<StyleBoxEmpty> make_empty_stylebox(float p_margin_left = -1, float p_margin_top = -1, float p_margin_right = -1, float p_margin_bottom = -1) {
	Ref<StyleBoxEmpty> style(memnew(StyleBoxEmpty));
	style->set_content_margin_individual(p_margin_left * EDSCALE, p_margin_top * EDSCALE, p_margin_right * EDSCALE, p_margin_bottom * EDSCALE);
	return style;
}
static Ref<StyleBoxFlat> make_flat_stylebox(Color p_color, float p_margin_left = -1, float p_margin_top = -1, float p_margin_right = -1, float p_margin_bottom = -1, int p_corner_width = 0) {
	Ref<StyleBoxFlat> style(memnew(StyleBoxFlat));
	style->set_bg_color(p_color);
	
	style->set_corner_detail(Math::ceil(0.8 * p_corner_width * EDSCALE));
	style->set_corner_radius_all(p_corner_width * EDSCALE);
	style->set_content_margin_individual(p_margin_left * EDSCALE, p_margin_top * EDSCALE, p_margin_right * EDSCALE, p_margin_bottom * EDSCALE);
	
	style->set_anti_aliased(false);
	return style;
}
static Ref<StyleBoxLine> make_line_stylebox(Color p_color, int p_thickness = 1, float p_grow_begin = 1, float p_grow_end = 1, bool p_vertical = false) {