Fix AIWander crash

Fixes bug https://bugs.openmw.org/issues/909