Fixed vertex buffers

Vertex and UV buffers are now correct. Additionally the texture buffer
number was fixed in the render method.