Bezier curves flipping