[Mac] Fix Slider control orientation

The initial width of the widget is bigger than the height, so the orientation is horizontal.