XPT2046 touchscreen problem

There is an XPT2046 library which is available through the Arduino IDE. Maybe try that and see if it functions better. In the library folder, you'll find examples which detect a touch and indicate the coordinates of the touched point.