Fix line clipping.

Test before printing anything. Fixes the case where println is called
with an x value that’s already beyond xmas.