Implement context loss and restore functions for OpenGLCanvas