### Godot version

4.1 dev3

### System information

W10

### Issue description

The button is pushed to the far right. Maybe it tries to escape, idk.

![image](https://github.com/godotengine/godot/assets/2223172/becb32f6-f725-4564-952e-946ec544c376)

It used to be more to the left. Not sure when it changed.

Seems correct in 4.0.3

![image](https://github.com/godotengine/godot/assets/2223172/3e3d206a-481d-415a-acb4-40cbf4a60fc0)


### Steps to reproduce

1. Add TileMap
2. Look to the right

### 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) {