Fix auto gen obstacles in static or overlapping