Fix missing dropdownCssClass on init

Fixes issue #1615 where dropdownCssClass is no longer applied.