[guilib] ensure we invalidate items whenever we update properties or tags. fixes #14742.