diff --git a/src/HTMLRenderer/general.cc b/src/HTMLRenderer/general.cc
index d5a7af3..3c69fa7 100644
--- a/src/HTMLRenderer/general.cc
+++ b/src/HTMLRenderer/general.cc
@@ -171,6 +171,7 @@ void HTMLRenderer::startPage(int pageNum, GfxState *state)
draw_tx = draw_ty = 0;
reset_state_change();
+
all_changed = true;
}