fix quirk in imagegrid