I think the Invisibility was controllable. Gandalf had the Elven
Ring of Fire & it seemed to allow him to disappear at times. For
example look at the Hobbit: While in the goblin caves, he blasted
a couple of goblins with a spell & vanished. He later appeared
in the goblin cave. In DnD...