Correct border-box for pdf