My redmi 12C has a strange touch error

It was working well until last week , it has stop responding to touches randomly . I could somehow swipe it across the screen and see some response, i could scroll a little news feed and such . I could induce the touch by swiping from a place and letting go at a desired place and that place would induced a touch , not by normal means.

I also found out that you can fix it temporarily by locking and unlocking your phone. and it would be fixed randomly without knowing when it would trigger again.

I also found another fix by plugging in the charger and unplugging it immediately after. but it didnt last long and would start acting up again.

Things i have tried :

  1. I have Shut down, Restarted the device.

    1. I disabled most of the background apps
    2. Disable the notifications
    3. Turned off gestures

5.Turned off 3 finger screenshot

Havent updated to Hyper OS yet still on MIUI 13 , but was working well on MIUI 13 until recently too

Any help is appreciated. Thanks