adding support for bezier curves with unlimited control points
fixing a bug where alpha channel of RGB-only colour specifications should be 1