Far interaction trigger events of previous selected UGUI element
Description
When clicking UGUI button using far pointer, the button previously clicked would trigger onclick event again.
Steps to reproduce
This can reproduce with Mixed Reality Toolkit Examples/Demos/HandTracking/HandInteractionExamples There are 3 buttons in UGUI slate, I registe onclick event for the first button so that it will update its text to show the count of click on itself.
Near interaction works properly: (Expected behavior) 1.Click the first button twice, text turns to 1 and then 2 2.Click the second button, text remains 2 3.Click inputfiled, keyboard shows up 4.Close keyboard 5.Click button, keyboard wont show
https://user-images.githubusercontent.com/26813390/183860414-e7e160fe-f994-42e2-863f-787f6449ffab.mp4
Far interaction: (Actual behavior) 1.Click the first button, text turns to 1 2.Click the second button, text turns to 2 3.Click inputfiled, keyboard shows up 4.Close keyboard 5.Click button, keyboard shows up again
https://user-images.githubusercontent.com/26813390/183859355-a75b99f6-96a8-4c6b-a831-f1e4dc432298.mp4
Unity editor version
Unity 2020.3.29f1
Mixed Reality Toolkit release version
Mixed Reality Toolkit v2.8.2 OpenXR Plugin 1.3.1