Fixed cursor one update behind issue, The document locationpassed into the event was the previous location.