Fix i os8 orientation handling