diff --git a/src/vte.cc b/src/vte.cc
index f514df82..b2c22661 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -10725,7 +10725,7 @@ VteTerminalPrivate::emit_pending_signals()
 	if (m_contents_changed_pending) {
                 /* Update hyperlink and dingus match set. */
 		match_contents_clear();
-		if (m_mouse_cursor_over_widget) {
+		if (m_mouse_cursor_over_widget && m_mouse_cursor_visible) {
                         hyperlink_hilite_update(m_mouse_last_position);
 			match_hilite_update(m_mouse_last_position);
 		}
