Fix cursor positioning when scrolled to the right.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseMerge@23990 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac