Merge changes I41cb79ea,I12eb8eae into main

* changes:
  Add logic to overwrite pointer coordinates if event time is too old
  Add logic to overwrite pointer coordinates in motion event