Enabled clipping for patterns

Fixes #113.