Fixed problem with image aspect ratio