### Godot version

4 rc 6

### System information

win 11

### Issue description

if u right click on tile in tileset editor in setup tab you get "delete delete" as an option but if u actually press the delete key it tries to delete the node in the scene tree

### Steps to reproduce

make tileset
add tile
try to delete tile with delete key

### Minimal reproduction project

N/A
HashMap<Vector2i, List<const PropertyInfo *>> per_tile;
	for (const List<PropertyInfo>::Element *E_property = r_list.front(); E_property; E_property = E_property->next()) {
		Vector<String> components = String(E_property->get().name).split("/", true, 1);
		if (components.size() >= 1) {
			Vector<String> coord_arr = components[0].split(":");
			if (coord_arr.size() == 2 && coord_arr[0].is_valid_int() && coord_arr[1].is_valid_int()) {
				Vector2i coords = Vector2i(coord_arr[0].to_int(), coord_arr[1].to_int());
				per_tile[coords].push_back(&(E_property->get()));
			}
		}
	}
	return per_tile;
}
void TileSetAtlasSourceEditor::_menu_option(int p_option) {