Added safety checks. Allow us to unbind vertex buffers.