Fix orientations detection.