### Godot version

4.1.1.stable, 4.2.dev (2282fc5de)

### System information

Arch Linux - X11 - GLES3 (Compatibility) - NVIDIA GeForce RTX 3060 Ti (nvidia; 535.104.05) - 13th Gen Intel(R) Core(TM) i5-13400F (16 Threads)

### Issue description

When using Compatibility renderer, adjusting the Alpha component of clear color affects 2D editor content.

This does not happen when using Forward+ or Mobile renderer. Does not affect 3D editor and the running game.


https://github.com/godotengine/godot/assets/372476/e398522e-590a-4832-959f-ea8ba8e71c5d



### Steps to reproduce

1. Create a project using Compatibility renderer.
2. Adjust the clear color's alpha component in Project Settings.

### Minimal reproduction project

N/A
if (update_skeletons) {
					mesh_storage->update_mesh_instances();
					update_skeletons = false;
				}
				
				_render_items(p_to_render_target, item_count, canvas_transform_inverse, p_light_list, r_sdf_used);
				item_count = 0;
				if (ci->canvas_group_owner->canvas_group->mode != RS::CANVAS_GROUP_MODE_TRANSPARENT) {
					Rect2i group_rect = ci->canvas_group_owner->global_rect_cache;
					texture_storage->render_target_copy_to_back_buffer(p_to_render_target, group_rect, false);
					if (ci->canvas_group_owner->canvas_group->mode == RS::CANVAS_GROUP_MODE_CLIP_AND_DRAW) {
						ci->canvas_group_owner->use_canvas_group = false;
						items[item_count++] = ci->canvas_group_owner;
					}
				} else if (!backbuffer_cleared) {
					texture_storage->render_target_clear_back_buffer(p_to_render_target, Rect2i(), Color(0, 0, 0, 0));
					backbuffer_cleared = true;
				}
				backbuffer_copy = false;
				canvas_group_owner = ci->canvas_group_owner; 
			}
			ci->canvas_group_owner = nullptr; 
		}
		if (canvas_group_owner == nullptr && ci->canvas_group != nullptr && ci->canvas_group->mode != RS::CANVAS_GROUP_MODE_CLIP_AND_DRAW) {
			skip_item = true;
		}
		if (ci == canvas_group_owner) {
			if (update_skeletons) {
				mesh_storage->update_mesh_instances();
				update_skeletons = false;