Moved setting the page size to the renderer.
Fixed the case where a tie or slur covers the entire line.