basemap gallery fix for portals