Fixed the thumbnailing of images that were taller than they were wide