Adding point to a Path2D with null Curve2D from the canvas was causing a crash after trying to use a null object.
0de8309b2c