fixed for polylines: extremity of arrows not visible because of the end
of the line
fixed for bezier curves: extremity of arrows not visible because of the
end of the line