Fixed issue when loading maze from walls