Fixed bezier-calculation.
Fixed bezier-calculation.