Fix navigation mesh initialisation.