Clear VE if the last bound VBO was deleted without unbinding it explicitely
In addition, if no VBO is bound bail out of draw_vbo, to avoid trying to dereference the pointer when filling the shader key.
In addition, if no VBO is bound bail out of draw_vbo, to avoid trying to dereference the pointer when filling the shader key.