Fix jumping content when adding border