Improved touch panel calibration