Fix bug in VertexRenderer: add cast to uint for OpenGL compatibility.