I think this is actually not caused by the component, but by the way tags are resolved from other ux elements in Discourse. I have upper-case tags on a site:

When I select the tag from the topic list item above, it directs me to /tag/tips. And then the banner shows “tips”.
But when I navigate to to /tag/Tips, the banner shows “Tips”.