Fixe crash when making thumbnails for long threads.