fixed: crash when creating a shape with an arrow.
fixed: for polylines, extremity of arrows not visible because of the end
of the line