While setting up data to draw elements with, the draw implementation in Ren2Renderer just assumes the Float32Array coming back from buffer.getLocation() is of length 2. Changing to something like buffer.getLocationX() and buffer.getLocationY() would be more fool-proof.