updated for version 7.0-169
diff --git a/src/screen.c b/src/screen.c
index b861d78..b3b98bf 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -455,6 +455,7 @@
 		    && curwin->w_topline == curwin->w_lines[0].wl_lnum)
 #ifdef FEAT_VISUAL
 		|| (type == INVERTED
+		    && VIsual_active
 		    && curwin->w_old_cursor_lnum == curwin->w_cursor.lnum
 		    && curwin->w_old_visual_mode == VIsual_mode
 		    && (curwin->w_valid & VALID_VIRTCOL)
diff --git a/src/version.c b/src/version.c
index f1095b6..e881654 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    169,
+/**/
     168,
 /**/
     167,