fix distortion of preview image in rotated view