diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp
index 7eb0d5650d..4f78084b83 100644
--- a/src/html/htmlwin.cpp
+++ b/src/html/htmlwin.cpp
@@ -627,6 +627,13 @@ bool wxHtmlWindow::LoadPage(const wxString& location)
{
ScrollToAnchor(f->GetAnchor());
}
+ else
+ {
+ // Without anchor, go to the top of the page, instead of
+ // possibly remaining at non-zero scroll position and scrolling
+ // the top out of view.
+ Scroll(0, 0);
+ }
delete f;