Fix: canvas image and path stroke.
Fix: a minor bug in computing stroking path offsets.