### Godot version

4.0 beta 10

### System information

Mac M1, MacOS Ventura 13.0.1

### Issue description

This has been happening with all the 4.0 betas, and it's only happening on the Mac. When I start Godot and am presented with the Project Manager, the UI text is always black. Even on the "about" box.

![Screenshot 2022-12-28 at 2 49 46 PM](https://user-images.githubusercontent.com/786744/209870865-222a47c6-c19d-4be5-bee5-6a3b5191d9c9.png)

If I open a project, the text color is shown correctly. Note that the "about" box text is also fixed.

![Screenshot 2022-12-28 at 2 50 24 PM](https://user-images.githubusercontent.com/786744/209871082-5a48c7d6-2396-42f1-b509-2077ec3be617.png)

If, at this point, I tell Godot to return to the Project Manager, the black text reappears.

### Steps to reproduce

It's just doing this from a cold start, so there aren't any steps.

### Minimal reproduction project

N/A
#endif
		GLuint texture_atlas = texture_storage->texture_atlas_get_texture();
		if (texture_atlas == 0) {
			GLES3::Texture *tex = texture_storage->get_texture(texture_storage->texture_gl_get_default(GLES3::DEFAULT_GL_TEXTURE_WHITE));
			texture_atlas = tex->tex_id;
		}
		glActiveTexture(GL_TEXTURE0 + GLES3::Config::get_singleton()->max_texture_image_units - 2);
		glBindTexture(GL_TEXTURE_2D, texture_atlas);
		GLuint shadow_tex = state.shadow_texture;
		if (shadow_tex == 0) {
			GLES3::Texture *tex = texture_storage->get_texture(texture_storage->texture_gl_get_default(GLES3::DEFAULT_GL_TEXTURE_WHITE));
			shadow_tex = tex->tex_id;
		}
		glActiveTexture(GL_TEXTURE0 + GLES3::Config::get_singleton()->max_texture_image_units - 3);
		glBindTexture(GL_TEXTURE_2D, shadow_tex);
	}
	{
		
		StateBuffer state_buffer;
		Size2i ssize = texture_storage->render_target_get_size(p_to_render_target);
		
		
		
		float y_scale = texture_storage->render_target_get_override_color(p_to_render_target).is_valid() ? -2.0f : 2.0f;
		Transform3D screen_transform;
		screen_transform.translate_local(-(ssize.width / 2.0f), -(ssize.height / 2.0f), 0.0f);
		screen_transform.scale(Vector3(2.0f / ssize.width, y_scale / ssize.height, 1.0f));
		_update_transform_to_mat4(screen_transform, state_buffer.screen_transform);
		_update_transform_2d_to_mat4(p_canvas_transform, state_buffer.canvas_transform);
		Transform2D normal_transform = p_canvas_transform;