How to prevent scrollbars for individual optgroups?

When populating a dropdown with optgroups with more than 5 items, each optgroup gets a scrollbar, and the full dropdown gets a scrollbar.

How can I configure the dropdown to show all items in each optgroup and only have a single scrollbar for the full dropdown?

This was caused by a conflicting css, not by Select2 css.