Fixed NullRefException with color-only pens
PrimitivePath API improvements