Fix visual selection bug

Fix: when visualmode and current cursor position is end of visual
selection, target is double counted in visual selection. This commit fix
this issue.