Mapgen V7: Fix out-of-bounds array access