### Godot version

4 beta 10

### System information

win 11

### Issue description

So I have a very skinny tileset image. When I try to make a tile at the top of the image, it jumps down to some where in the middle. Why does it do this?

### Steps to reproduce

make a tileset with a skinny image

### Minimal reproduction project

none
Color grid_color = EDITOR_GET("editors/tiles_editor/grid_color");
	Vector2i tile_shape_size = tile_set->get_tile_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);
		Vector2 in_tile_base_offset = tile_set_atlas_source->get_tile_effective_texture_offset(tile_id, 0);
		for (int frame = 0; frame < tile_set_atlas_source->get_tile_animation_frames_count(tile_id); frame++) {
			Color color = grid_color;
			if (frame > 0) {
				color.a *= 0.3;
			}
			Rect2i texture_region = tile_set_atlas_source->get_tile_texture_region(tile_id);
			Transform2D tile_xform;
			tile_xform.set_origin(texture_region.get_center() + in_tile_base_offset);
			tile_xform.set_scale(tile_shape_size);
			tile_set->draw_tile_shape(base_tiles_shape_grid, tile_xform, color);
		}
	}
}
void TileAtlasView::_alternative_tiles_root_control_gui_input(const Ref<InputEvent> &p_event) {