Workaround for PDF layout from cf_Template.