Fixed an issue that thumbnails may not be loaded