glsl fix bugs and Bezier Curve update