### Godot version

4.0beta17

### System information

Linux Mint 21.1

### Issue description

When editing animations for the **frame** property of **Sprite2D**, the preview image does not respect the **region_rect** specified in the Sprite2D's properties.

Godot 4.0 (tested with alpha1 to beta17)
![Screenshot from 2023-02-05 21-19-29](https://user-images.githubusercontent.com/2348534/216868394-45a9dc42-ce4b-4b11-82cb-4491aea46d9b.png)

Godot 3.5
![Screenshot from 2023-02-05 21-19-43](https://user-images.githubusercontent.com/2348534/216868543-cff6eb60-a431-4138-8fa6-5c30a54de0e1.png)

As can be seen in the second screenshot, the region rect is applied to the key preview image in Godot 3.5, but is ignored in Godot 4.0.


### Steps to reproduce

Steps:

1. Set a region rect on a Sprite2D node
2. Add Sprite2D.frame as a track to an AnimationPlayer
3. Insert key
4. Key preview does not take region rect into account

### Minimal reproduction project

[MRP.zip](https://github.com/godotengine/godot/files/10637055/MRP.zip)

id = p_object->get_instance_id();
}
int AnimationTrackEditVolumeDB::get_key_height() const {
	Ref<Texture2D> volume_texture = get_theme_icon(SNAME("ColorTrackVu"), SNAME("EditorIcons"));
	return volume_texture->get_height() * 1.2;
}
void AnimationTrackEditVolumeDB::draw_bg(int p_clip_left, int p_clip_right) {
	Ref<Texture2D> volume_texture = get_theme_icon(SNAME("ColorTrackVu"), SNAME("EditorIcons"));
	int tex_h = volume_texture->get_height();
	int y_from = (get_size().height - tex_h) / 2;
	int y_size = tex_h;
	Color color(1, 1, 1, 0.3);
	draw_texture_rect(volume_texture, Rect2(p_clip_left, y_from, p_clip_right - p_clip_left, y_from + y_size), false, color);
}
void AnimationTrackEditVolumeDB::draw_fg(int p_clip_left, int p_clip_right) {
	Ref<Texture2D> volume_texture = get_theme_icon(SNAME("ColorTrackVu"), SNAME("EditorIcons"));
	int tex_h = volume_texture->get_height();
	int y_from = (get_size().height - tex_h) / 2;
	int db0 = y_from + (24 / 80.0) * tex_h;
	draw_line(Vector2(p_clip_left, db0), Vector2(p_clip_right, db0), Color(1, 1, 1, 0.3));
}
void AnimationTrackEditVolumeDB::draw_key_link(int p_index, float p_pixels_sec, int p_x, int p_next_x, int p_clip_left, int p_clip_right) {