### Godot version

4.1.stable

### System information

Windows 11 (x64), Intel(R) Core(TM) i5-9400 CPU, Vulkan,  NVIDIA GeForce GTX 1660 Ti driver version 528.24

### Issue description

When resizing the Scene Tree view, making it narrow, the tooltips of the icons no longer match the position of the icons. 
The tooltip rect is pushed off to the side.
Video showing bug:

https://github.com/godotengine/godot/assets/104696964/bc9918a0-4f4c-4722-aee3-7887d0e3dd5d



### Steps to reproduce

Make your Scene Tree view narrow. Hover over the icons. The tooltip activation area does not match the icon.

### Minimal reproduction project

N/A
int button_margin = 0;
		int icon_max_width = 0;
		Point2 offset;
		int draw_relationship_lines = 0;
		int relationship_line_width = 0;
		int parent_hl_line_width = 0;
		int children_hl_line_width = 0;
		int parent_hl_line_margin = 0;
		int draw_guides = 0;
		int scroll_border = 0;
		int scroll_speed = 0;
		int scrollbar_margin_top = -1;
		int scrollbar_margin_right = -1;
		int scrollbar_margin_bottom = -1;
		int scrollbar_margin_left = -1;
		int scrollbar_h_separation = 0;
		int scrollbar_v_separation = 0;
	} theme_cache;
	struct Cache {
		enum ClickType {
			CLICK_NONE,
			CLICK_TITLE,
			CLICK_BUTTON,
		};
		ClickType click_type = Cache::CLICK_NONE;
		ClickType hover_type = Cache::CLICK_NONE;
		int click_index = -1;
		int click_id = -1;
		TreeItem *click_item = nullptr;
		int click_column = 0;