Fixed rare infinite loop bug in map generation