Really fix leaky thumbnails