Example for the question in StackOverflow (http://stackoverflow.com/questions/22392550/uisegmentedcontroll-in-uinavigationbar-weird-screenshot-ios)