Gallery: fix album thumbnails of shared albums