Draw dot if there are not enough points to draw a curve.
Fix drawing Bezier curve.

This causes huge performance regression on Chrome on Mac.