fixed switching from bezier to linear brush engine mode