Form not formatted correctly when exporting to PDF