Apple pencil skipping on screen
So I recently got a repair on my ipad screen due to it getting smashed and ever since a section in the middle of the screen and to the top of the screen now wont allow my apple pencil to write/draw on it. Altho there has been glitches where it has drawn on small areas, most of the time I am unable to draw on it. This happens both in apps and on the home screen and although my finger can sometimes draw in that section of screen, the drawn part can sometimes glitch so the drawn line disappears mid drawing on that area. I have updated the ipad so its at its most recent software update, I have restarted the ipad, disconnected and reconnected the apple pencil and even cleaned the screen thoroughly as some people suggested it was dust causing the problem. The first photo is drawn with my pencil and the 2nd is drawn with my finger. Is there a way to fix this problem thanks.
iPad Pro, iPadOS 17