Canvas receives extra argument for draw arrays

It specifies how many vertices each data in the buffer has.