### 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
for (int x = 0; x < grid_size.x; x++) {
				
				Vector2i coords = Vector2i(x, y);
				if (tile_set_atlas_source->get_tile_at_coords(coords) == TileSetSource::INVALID_ATLAS_COORDS) {
					
					Rect2i region = Rect2i(margins + (coords * (texture_region_size + separation)), texture_region_size);
					bool is_opaque = false;
					for (int region_x = region.get_position().x; region_x < region.get_end().x; region_x++) {
						for (int region_y = region.get_position().y; region_y < region.get_end().y; region_y++) {
							if (texture->is_pixel_opaque(region_x, region_y)) {
								is_opaque = true;
								break;
							}
						}
						if (is_opaque) {
							break;
						}
					}
					
					if (is_opaque) {
						undo_redo->add_do_method(tile_set_atlas_source, "create_tile", coords);
						undo_redo->add_undo_method(tile_set_atlas_source, "remove_tile", coords);
					}
				}
			}
		}
		undo_redo->commit_action();
	}
}
void TileSetAtlasSourceEditor::_auto_remove_tiles() {