Characters don't "Simple Move to Location" after Possessing

i find a post about this problem, is this an only legit solution at this moment?
in that case, where to place this piece of code?