Fixed iOS 7 bug.