Fix bug where a texture was created before opengl was initialized

Found on OSX.  Currently OSX loads the first screen but I think fonts are busted.