Fixed broken switch component with style "text-align: center" applied on themes.