fixed error where touches with x greater than 768 are not recognized