Three things:

Use the tip of your fingernail, not the pad of your finger, as @mrehorstdmd suggested.

Make sure that the enclosure isn't pressing against the edges of the front of the touch screen.

If it's inaccurate at the edges, run the "Touch the spot" calibration form the Setup menu again.