apply shift to text too if we are clipping (does not clip exactly the same because of text metrics

(cherry picked from commit 911f367acb03d7898a0abe798229d7ef4c8d3878)
Merge pull request #101 from adobe-research/clip_to_document-0.2

apply shift to text too if we are clipping