Cache ActorId in AiFollow::getTarget (Fixes #1804)