Fixes single pane portrait mode issue on iOS 8