Fixed placement of barriers.