### 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 (EDITOR_3D < main_editor_buttons.size() && main_editor_buttons[EDITOR_3D]->is_visible()) {
		
		editor_select(EDITOR_3D);
		return;
	}
	
	
	for (int i = 0; i < main_editor_buttons.size(); i++) {
		Button *editor_button = main_editor_buttons[i];
		if (editor_button->is_visible()) {
			editor_select(i);
			return;
		}
	}
	editor_select(-1);
}
void EditorNode::_notification(int p_what) {