### 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"
wc.hCursor = nullptr;
	wc.hbrBackground = nullptr;
	wc.lpszMenuName = nullptr;
	wc.lpszClassName = L"Engine";
	if (!RegisterClassExW(&wc)) {
		MessageBoxW(nullptr, L"Failed To Register The Window Class.", L"ERROR", MB_OK | MB_ICONEXCLAMATION);
		r_error = ERR_UNAVAILABLE;
		return;
	}
	_register_raw_input_devices(INVALID_WINDOW_ID);
#if defined(VULKAN_ENABLED)
	if (rendering_driver == "vulkan") {
		context_vulkan = memnew(VulkanContextWindows);
		if (context_vulkan->initialize() != OK) {
			memdelete(context_vulkan);
			context_vulkan = nullptr;
			r_error = ERR_UNAVAILABLE;
			return;
		}
	}
#endif
	
#if defined(GLES3_ENABLED)
	bool fallback = GLOBAL_GET("rendering/gl_compatibility/fallback_to_angle");
	if (fallback && (rendering_driver == "opengl3")) {
		Dictionary gl_info = detect_wgl();
		bool force_angle = false;
		Array device_list = GLOBAL_GET("rendering/gl_compatibility/force_angle_on_devices");
		for (int i = 0; i < device_list.size(); i++) {
			const Dictionary &device = device_list[i];