Issues with text being cut off after saving as PDF