Fix that points of the polygon are not delivered to C API when created