@ThatGuy and @Craftech,
So the hot glue dries transparently, or transparently enough? I have used electrical tape, but moved away from it since it left a lot of residue. But, I could put up with that if it doesn't destroy the lens.
If transparency isn't an issue, the glue gun should suit your needs very well.
John