Only query tags when visible