Fix bug pasting in visual line mode

fixed two (idetical) issues #471,#478

If it has any problems, please point out that to me.