Fix crash due to bad navmesh tree init