Maybe he used a technique that creates a mirror image of himself. He set the mirror image then transformed into a fly or something and flew away.