Fix positioning in iOS 8