Fixed iOS 8 landscape orientation issue