Fix clip off-by-one error.
Merge pull request #89 from PencilCode/clip

Fix clip off-by-one error.