Fixes #8516: correct input-small and input-large on select elements