Fixed select boxes bug

Fixed a bug that caused the select boxes to overflow on Windows.