fixes #230 Dotted and dashed edges now drawn with a minimum image buffer size of 1x1 to prevent DOM exceptions