### 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 (clight->shadow.enabled) {
				state.light_uniforms[index].flags |= LIGHT_FLAGS_HAS_SHADOW;
			}
			l->render_index_cache = index;
			index++;
			l = l->next_ptr;
		}
		light_count = index;
		directional_light_count = light_count;
		state.using_directional_lights = directional_light_count > 0;
	}
	
	{
		Light *l = p_light_list;
		uint32_t index = light_count;
		while (l) {
			if (index == data.max_lights_per_render) {
				l->render_index_cache = -1;
				l = l->next_ptr;
				continue;
			}
			CanvasLight *clight = canvas_light_owner.get_or_null(l->light_internal);
			if (!clight) { 
				l->render_index_cache = -1;
				l = l->next_ptr;
				ERR_CONTINUE(!clight);
			}
			Vector2 canvas_light_pos = p_canvas_transform.xform(l->xform.get_origin()); 
			state.light_uniforms[index].position[0] = canvas_light_pos.x;
			state.light_uniforms[index].position[1] = canvas_light_pos.y;