Fixed fetching images in msGallery