fixes switch color issues on iOS 7.1