Minor modification for proper displaying category images.