Touchscreen Edge Detection

You need to have a consistent, logical approach to working out what is going on.
Compare your expectations to your observations, and adjust accordingly, then retest.
See if touches correspond to the area of the screen that you expect

I don't have your hardware, and it is possible that someone who does won't find your question (I'd've posted in "sensors", not "displays")