Fix assertion failure in standalone --html mode, which I must have