Move the lines first then clip.

Change-Id: I4b7706dbd0a662637c3e8e8c00ef376b23eb0189