fixed the bug with AB cloak mg teleporting into buildings (not a perfect fix, working on an improved version)