### Godot version

4.0beta14

### System information

windows 10, gles 3, nvidia graphics

### Issue description

on beta 14, you cannot drag anymore a node from the scene tree to the script editor to get the node path or the ```@onready``` var snippet

### Steps to reproduce

Using beta 14, try to drag a node from the tree inside the script editor and see the arrow cursor turn into a circular white and red stop sign icon.

Note that this happens even if the script belongs to the currently opened scene.

### Minimal reproduction project

N/A
code_editor->set_executing_line(p_line);
}
void ScriptTextEditor::clear_executing_line() {
	code_editor->clear_executing_line();
}
void ScriptTextEditor::ensure_focus() {
	code_editor->get_text_editor()->grab_focus();
}
String ScriptTextEditor::get_name() {
	String name;
	name = script->get_path().get_file();
	if (name.is_empty()) {
		
		name = TTR("[unsaved]");
	} else if (script->is_built_in()) {
		const String &script_name = script->get_name();
		if (!script_name.is_empty()) {
			
			
			name = vformat("%s (%s)", script_name, name.get_slice("::", 0));
		}
	}
	if (is_unsaved()) {
		name += "(*)";
	}
	return name;
}
Ref<Texture2D> ScriptTextEditor::get_theme_icon() {