### Godot version

eaf306e0b

### System information

ArchLinux x11

### Issue description

Creating points on a path3d doesnt work.

### Steps to reproduce

- Create path3d
- Create a new curve resource
- Click the add point button
- Click anywhere
- No points!

### Minimal reproduction project

‮
if (p_editor->has_main_screen()) {
		
		
		for (int i = singleton->main_editor_buttons.size() - 1; i >= 0; i--) {
			if (p_editor->get_name() == singleton->main_editor_buttons[i]->get_text()) {
				if (singleton->main_editor_buttons[i]->is_pressed()) {
					singleton->editor_select(EDITOR_SCRIPT);
				}
				memdelete(singleton->main_editor_buttons[i]);
				singleton->main_editor_buttons.remove_at(i);
				break;
			} else {
				singleton->main_editor_buttons[i]->disconnect("pressed", callable_mp(singleton, &EditorNode::editor_select));
				singleton->main_editor_buttons[i]->connect("pressed", callable_mp(singleton, &EditorNode::editor_select).bind(i - 1));
			}
		}
		singleton->editor_table.erase(p_editor);
	}
	p_editor->make_visible(false);
	p_editor->clear();
	if (p_config_changed) {
		p_editor->disable_plugin();
	}
	singleton->editor_plugins_over->remove_plugin(p_editor);
	singleton->editor_plugins_force_over->remove_plugin(p_editor);
	singleton->editor_plugins_force_input_forwarding->remove_plugin(p_editor);
	singleton->remove_child(p_editor);
	singleton->editor_data.remove_editor_plugin(p_editor);
}
void EditorNode::_update_addon_config() {