fixed image aspect ratio bug