Why is the image distorted in preview screen?