ensure the line clipping box is padded using scale_factor as well - closes #1767