Fix borders overflowing into main div