[composer] Make sure rulers are updated when paper size changes