Make OptimalSizedParagraph#draw side effect free