improve update_visible_thumbnail, CursorMoved cannot be used for Windows GVim