### Godot version

4 rc6

### System information

Windows 11, Vulkan, ryzen 9 5900X, rx 6700xt

### Issue description

If you export an array and then add a resource to the array, the scrollbar for the create resource drop down doesn't work.

A workaround would be to scroll with the mouse wheel, but it's still an issue and the list can get quite long, which can make mouse wheel scrolling tedious. 

### Steps to reproduce

1. Export an array (for example `@export var test: Array = []`)
2. Create a new element
3. Right click in the `<empty>` field
4. Try to use the scroll bar (it won't work)

### Minimal reproduction project

See "Steps to reproduce"
case SC_MONITORPOWER: 
					return 0; 
				case SC_KEYMENU:
					if ((lParam >> 16) <= 0) {
						return 0;
					}
			}
		} break;
		case WM_CLOSE: 
		{
			if (windows[window_id].focus_timer_id != 0U) {
				KillTimer(windows[window_id].hWnd, windows[window_id].focus_timer_id);
			}
			_send_window_event(windows[window_id], WINDOW_EVENT_CLOSE_REQUEST);
			return 0; 
		}
		case WM_MOUSELEAVE: {
			if (window_mouseover_id == window_id) {
				old_invalid = true;
				window_mouseover_id = INVALID_WINDOW_ID;
				_send_window_event(windows[window_id], WINDOW_EVENT_MOUSE_EXIT);
			} else if (window_mouseover_id != INVALID_WINDOW_ID && windows.has(window_mouseover_id)) {
				
				
				track_mouse_leave_event(windows[window_mouseover_id].hWnd);
			}
		} break;
		case WM_INPUT: {
			if (mouse_mode != MOUSE_MODE_CAPTURED || !use_raw_input) {
				break;