Fix thumbnails loading