Added check to prevent multiple calls to bgfx init.