Fix for #8705, duplication of composer should inherit custom paper size