fix Custom UISegmentedControl with Image bug

fix Custom UISegmentedControl with Image bug: the iPad image is not showing up when run on iOS7 devices.