normalize mouse and touch events for window touch screen.Fixes #562