Fix small/large thumb generation.
Thumbnail Fix (V4) / Handle 3x3 (Patch by regeszter)