Bezier: Change crash to assertion failure