Fixed some layout issues for printing.