The problem here is that the dropdown was auto-scrolling when mouse was moved slightly off the end of the list. This seemed like cool behavior until the list was displayed above the button -- then it started auto-scrolling as soon as it was displayed. I added a parameter to `_setSelectedIndex()` to prevent auto-scrolling for this case, but the selection still went off the end of the visible list, so this code prevents that.