I think I should remove the comment on top of the template: with this patch, we wait for the thumbnail to be loaded before rendering the template, which avoids the dirty hack that revokes the Object URL 1s after the frame is loaded.