Make sure drivers are up to date
Try calibrating the touch screen while in tablet mode by searching for calibrate screen for pen or touch imput
make sure you do it accurately to avoid problems
Try changing some of the tablet mode settings in Windows Settings
Uninstall the driver and reinstall a fresh version
See if any of these make it work again.