Fixed overlapping borders.