In the attached test case, as you drag across the text field, it begins to autoscroll when you reach the middle. If you drag to the left or press the up arrow key, it doesn't scroll all the way back.
Created attachment 11516 [details] Test case
Created attachment 12376 [details] FIx layer coords to be absolute when compared with the event point.
Fixed in r18796.