### 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
Dictionary d = properties_as_array[i];
				Array keys = d.keys();
				for (int j = 0; j < keys.size(); j++) {
					String key = keys[j];
					undo_redo->add_do_property(object, vformat(key, i), d[key]);
				}
			}
		}
	}
	undo_redo->commit_action();
	
	if (p_element_index < 0) {
		int added_index = p_to_pos < 0 ? count : p_to_pos;
		emit_signal(SNAME("page_change_request"), added_index / page_length);
		count += 1;
	} else if (p_to_pos < 0) {
		count -= 1;
		if (page == max_page && (MAX(0, count - 1) / page_length != max_page)) {
			emit_signal(SNAME("page_change_request"), max_page - 1);
		}
	} else if (p_to_pos == begin_array_index - 1) {
		emit_signal(SNAME("page_change_request"), page - 1);
	} else if (p_to_pos > end_array_index) {
		emit_signal(SNAME("page_change_request"), page + 1);
	}
	begin_array_index = page * page_length;
	end_array_index = MIN(count, (page + 1) * page_length);
	max_page = MAX(0, count - 1) / page_length;
}
void EditorInspectorArray::_clear_array() {