Fixed a mistake in the thumbnail generation.