### 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"
icon_dir = (ICONDIR *)memrealloc(icon_dir, sizeof(ICONDIR) - sizeof(ICONDIRENTRY) + icon_dir->idCount * sizeof(ICONDIRENTRY));
	f->get_buffer((uint8_t *)&icon_dir->idEntries[0], icon_dir->idCount * sizeof(ICONDIRENTRY));
	int small_icon_index = -1; 
	int small_icon_cc = 0;
	int big_icon_index = -1; 
	int big_icon_width = 16;
	int big_icon_cc = 0;
	for (int i = 0; i < icon_dir->idCount; i++) {
		int colors = (icon_dir->idEntries[i].bColorCount == 0) ? 32768 : icon_dir->idEntries[i].bColorCount;
		int width = (icon_dir->idEntries[i].bWidth == 0) ? 256 : icon_dir->idEntries[i].bWidth;
		if (width == 16) {
			if (colors >= small_icon_cc) {
				small_icon_index = i;
				small_icon_cc = colors;
			}
		}
		if (width >= big_icon_width) {
			if (colors >= big_icon_cc) {
				big_icon_index = i;
				big_icon_width = width;
				big_icon_cc = colors;
			}
		}
	}
	ERR_FAIL_COND_MSG(big_icon_index == -1, "No valid icons found!");
	if (small_icon_index == -1) {
		WARN_PRINT("No small icon found, reusing " + itos(big_icon_width) + "x" + itos(big_icon_width) + " @" + itos(big_icon_cc) + " icon!");
		small_icon_index = big_icon_index;
		small_icon_cc = big_icon_cc;
	}