Fixed a vertex offset bug in OpenGLRenderer.
Added a virtual destructor to Event.