Fix palette PDF and invoice PDF