Prevent distortion of image