Fixed ShaderProgram.draw_elements(), which was broken.