Ensure that current coordinate values contain a valid number before using to compute relative positions, etc.  Previously, calling a drawing command (line, curve, etc) before a move could result in the shape record not being added to the list.