Preserve image aspect ratio when width is bigger than specified.