Attempt at fixing transparency in PNG / GIF thumbnails