Prevent a stretched image.