[composer] Move guidelines to correct position on page when paper size changes, fix lines drawing with incorrect width and height