Fixing a touch event issue.

Moved to event into the bounds of the window.
Added a polling check rather that asserts.

bug: 10884168
Change-Id: I7f1c0def9f566850121cfb80e4b33e68021b4ae8
2 files changed