Fix library grid for shared tabs