Moved graphics check to gfxInit()