Fix mapgen penetration bug