Fixed No Obstacles (empty map) in gui and in model.