Scroll to correct place when paste is done

Scroll to content when a paragraph has a huge content, was not correct. It scroll always to the beginning of the content, not to the the last text.
Merge pull request #1085 from najor/howling-mad-cursor-position-after-paste

Scroll to correct place when paste is done