Scaling lines correctly.