Fix AIWander crash