### Godot version

4.2 dev3

### System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

### Issue description

When you have a property array, e.g. layer list in TileMap, and hover on the side of the array, a tooltip showing (presumably) element index appears.
![image](https://github.com/godotengine/godot/assets/2223172/7c331c9c-4c1d-4d85-a660-3355a2f3332e)
However when you go to page 2 or higher, the index resets, instead of taking page into account:
![image](https://github.com/godotengine/godot/assets/2223172/588e20cd-24f6-4e64-88e3-e6b09e9133c1)


### Steps to reproduce

1. Add TileMap
2. Add enough layers to make the inspector's array have more pages
3. Go to another page
4. Hover array element

### Minimal reproduction project

N/A
switch (p_what) {
		case NOTIFICATION_ENTER_TREE:
		case NOTIFICATION_THEME_CHANGED: {
			menu->set_item_icon(menu->get_item_index(MENU_OPEN_DOCS), get_editor_theme_icon(SNAME("Help")));
		} break;
		case NOTIFICATION_DRAW: {
			Ref<StyleBox> sb = get_theme_stylebox(SNAME("bg"));
			draw_style_box(sb, Rect2(Vector2(), get_size()));
			Ref<Font> font = get_theme_font(SNAME("bold"), EditorStringName(EditorFonts));
			int font_size = get_theme_font_size(SNAME("bold_size"), EditorStringName(EditorFonts));
			int hs = get_theme_constant(SNAME("h_separation"), SNAME("Tree"));
			int icon_size = get_theme_constant(SNAME("class_icon_size"), EditorStringName(Editor));
			int w = font->get_string_size(label, HORIZONTAL_ALIGNMENT_LEFT, -1, font_size).width;
			if (icon.is_valid()) {
				w += hs + icon_size;
			}
			int ofs = (get_size().width - w) / 2;
			if (icon.is_valid()) {
				Size2 rect_size = Size2(icon_size, icon_size);
				Point2 rect_pos = Point2(ofs, (get_size().height - icon_size) / 2).floor();
				draw_texture_rect(icon, Rect2(rect_pos, rect_size));
				ofs += hs + icon_size;
			}
			Color color = get_theme_color(SNAME("font_color"), SNAME("Tree"));
			draw_string(font, Point2(ofs, font->get_ascent(font_size) + (get_size().height - font->get_height(font_size)) / 2).floor(), label, HORIZONTAL_ALIGNMENT_LEFT, get_size().width, font_size, color);
		} break;
	}
}
Control *EditorInspectorCategory::make_custom_tooltip(const String &p_text) const {