add option to clip to document bounds and turn it on by default