Draft: pause-toggler: fix related event handling issues
This commit attempts to some issues caused after merge of !6465 (merged)
- Fix Doubleclick to toggle fullscreen glitching issue.
- Fix 360 Video pause-toggling when using click and drag as noted in #28915.
- Fix a corner case of incorrect mousecallback assignment. This issue was discovered when working with implementation of Interactive MKV at !5925.
Also, moved mouse event handling out of EsOutControl for better performance.
TODO:
- Destroy the timer properly.
- Maybe use a struct to keep mouse state for pause-toggling.
Edited by Khalid Masum