Fix wrong vertex count
Unbind vertex and index buffer after creation
Unbind texture when done with it
Bind array buffer when needed
Temporary fix
Fix a memory leak