To re-calibrate the touchscreen, log into the console and use the command:

ts_calibrate

After that, you can use the command

ts_test

to check the touch operation.