Speedup for the clipping calculations
This does the rendering for the clipping calculations a little faster. For normal clipped images (where there aren't too many clipped pixels) there isn't much of a difference, but if there are many clipped pixels, this will draw lines for stretches of clipped pixels instead of drawing all the individual pixels, and speed things up that way.