fix tag flicker

fix tag highlight flicker when selecting