### 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"
const List<WindowID>::Element *E = popup_list.back();
	if (E) {
		return E->get();
	}
	return last_focused_window;
}
void DisplayServerWindows::_register_raw_input_devices(WindowID p_target_window) {
	use_raw_input = true;
	RAWINPUTDEVICE rid[1] = {};
	rid[0].usUsagePage = 0x01;
	rid[0].usUsage = 0x02;
	rid[0].dwFlags = 0;
	if (p_target_window != INVALID_WINDOW_ID && windows.has(p_target_window)) {
		
		rid[0].hwndTarget = windows[p_target_window].hWnd;
	} else {
		
		rid[0].hwndTarget = 0;
	}
	if (RegisterRawInputDevices(rid, 1, sizeof(rid[0])) == FALSE) {
		
		use_raw_input = false;
	}
}
bool DisplayServerWindows::tts_is_speaking() const {