Fix header and footer template boxes too small in PDF output options in calibre 2.x