### 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"
} else {
			rect.left = 0;
			rect.right = wd.width;
			rect.top = 0;
			rect.bottom = wd.height;
			wd.pre_fs_valid = true;
		}
		MoveWindow(wd.hWnd, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, TRUE);
		if (restore_mouse_trails > 1) {
			SystemParametersInfoA(SPI_SETMOUSETRAILS, restore_mouse_trails, 0, 0);
			restore_mouse_trails = 0;
		}
	}
	if (p_mode == WINDOW_MODE_WINDOWED) {
		ShowWindow(wd.hWnd, SW_RESTORE);
		wd.maximized = false;
		wd.minimized = false;
	}
	if (p_mode == WINDOW_MODE_MAXIMIZED) {
		ShowWindow(wd.hWnd, SW_MAXIMIZE);
		wd.maximized = true;
		wd.minimized = false;
	}
	if (p_mode == WINDOW_MODE_MINIMIZED) {
		ShowWindow(wd.hWnd, SW_MINIMIZE);
		wd.maximized = false;
		wd.minimized = true;
	}
	if (p_mode == WINDOW_MODE_EXCLUSIVE_FULLSCREEN) {
		wd.multiwindow_fs = false;