Fix custom dropdowns on iOS.