fix bug 1084050 - do not show context menu for clicks beyond the last wo...

...rd