How to re-attach this piece?

I was able to see the pin that it sits on. It appears that it's supposed to be spot welded to the piece of channel/vent frame. Everything seems to work fine without it. I'm wondering if I can get my MIG torch in there to put a couple tacks on it without burning up the rubber in the channel.

Any other ideas to repair this in the vehicle?