Ensure cursorActivity event is fired when the cursor is in changed range

Closes #1411