move drawElements() call to PShader.draw()