Fix UI issue on iOS 6; Fix glitch on iOS 7.