Implement TouchEvent, fix support for high DPI screen