Fix Bezier patch
Merge pull request #3473 from raven02/patch-30

Partial fix bezier patch