This should work for now, but I will probably rip this out later, because it would be nice if gloo.gl can do this initialization by itself. (e.g. use gloo without vispy.app).