### Godot version

4.0.1.stable

### System information

Arch Linux

### Issue description

In the tileset atlas source editor, you can drag to expand the tile after selecting it with the pink handles.

However, you can't drag the top handle up if the tile is on the second row, even if the first row is empty.

![ksnip_20230322-161103](https://user-images.githubusercontent.com/372476/226839526-09c0b37a-b37b-45ad-8dfc-0539c176de33.png)


### Steps to reproduce

1. Create a tile on the second row.
2. Make sure the first row is empty.
3. Try to drag the top handle up.

### Minimal reproduction project

N/A
Vector2i size;
	Ref<Texture2D> texture = tile_set_atlas_source->get_texture();
	if (texture.is_valid()) {
		size = texture->get_size();
	}
	return size;
}
Size2i TileAtlasView::_compute_alternative_tiles_control_size() {
	Vector2i size;
	for (int i = 0; i < tile_set_atlas_source->get_tiles_count(); i++) {
		Vector2i tile_id = tile_set_atlas_source->get_tile_id(i);
		int alternatives_count = tile_set_atlas_source->get_alternative_tiles_count(tile_id);
		Vector2i line_size;
		Size2i texture_region_size = tile_set_atlas_source->get_tile_texture_region(tile_id).size;
		for (int j = 1; j < alternatives_count; j++) {
			int alternative_id = tile_set_atlas_source->get_alternative_tile_id(tile_id, j);
			bool transposed = tile_set_atlas_source->get_tile_data(tile_id, alternative_id)->get_transpose();
			line_size.x += transposed ? texture_region_size.y : texture_region_size.x;
			line_size.y = MAX(line_size.y, transposed ? texture_region_size.x : texture_region_size.y);
		}
		size.x = MAX(size.x, line_size.x);
		size.y += line_size.y;
	}
	return size;
}
void TileAtlasView::_update_zoom_and_panning(bool p_zoom_on_mouse_pos) {