### Tested versions

- Reproducible: all godot 4 versions - Godot_v4.2-stable_win64 (last version I tested)
- Not reproducible: before godot 4 versions - I'm currently working on Godot_v3.5.3-stable_win64, and there is no issue

### System information

Godot v4.2.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon (TM) R5 M330 () - AMD A8-7410 APU with AMD Radeon R5 Graphics (4 Threads)

### Issue description

The bug appears as soon as I start godot, all the interface is not properly shown, when I move over any option on the interface with the mouse the interface start to blink and the options are not shown, and I've already tested other godot 4 versions and the problem persist, only on the godot 3 versions the problem is not happening.

### Steps to reproduce

There are not steps, the problem can be noticed on the interface where we create a new project or select an exiting one, any clickeable option triggers this problem.

### Minimal reproduction project (MRP)

https://youtu.be/VTGknO_ML-o

_Production edit: updated the system info_
#ifdef MODULE_GDSCRIPT_ENABLED
		if (!doc_tool_path.is_empty() && !gdscript_docs_path.is_empty()) {
			DocTools docs;
			Error err;
			Vector<String> paths = get_files_with_extension(gdscript_docs_path, "gd");
			ERR_FAIL_COND_V_MSG(paths.size() == 0, false, "Couldn't find any GDScript files under the given directory: " + gdscript_docs_path);
			for (const String &path : paths) {
				Ref<GDScript> gdscript = ResourceLoader::load(path);
				for (const DocData::ClassDoc &class_doc : gdscript->get_documentation()) {
					docs.add_doc(class_doc);
				}
			}
			if (doc_tool_path == ".") {
				doc_tool_path = "./docs";
			}
			Ref<DirAccess> da = DirAccess::create_for_path(doc_tool_path);
			err = da->make_dir_recursive(doc_tool_path);
			ERR_FAIL_COND_V_MSG(err != OK, false, "Error: Can't create GDScript docs directory: " + doc_tool_path + ": " + itos(err));
			HashMap<String, String> doc_data_classes;
			err = docs.save_classes(doc_tool_path, doc_data_classes, false);
			ERR_FAIL_COND_V_MSG(err != OK, false, "Error saving GDScript docs:" + itos(err));
			OS::get_singleton()->set_exit_code(EXIT_SUCCESS);
			return false;
		}
#endif 
		EditorNode *editor_node = nullptr;
		if (editor) {
			OS::get_singleton()->benchmark_begin_measure("Startup", "Editor");
			editor_node = memnew(EditorNode);
			sml->get_root()->add_child(editor_node);