Fixing thumbnail images that don't fit the box

Badges (and probably programs) with images that are too large no longer spill out.