Fixed iOS 8 layout bug.