Thumbnail Extraction Fix

Untested.