bugfix for closed berzier curves