Prevented units from intersecting walls