Issue with Notifications Not Marking as Read on First Click

I am experiencing an issue with notifications on the platform. When I click on a notification to open a thread, it is not marked as read. I have to open the thread twice or use the "mark these as read" option for it to be considered read.

Refreshing the page does not resolve the issue, so it does not seem to be related to a delayed server response. I have tried logging in again and clearing cookies, but the problem persists.

Additionally, when I click on a notification to reach a thread and attempt to perform activities within that thread, the page becomes unresponsive. I need to click on the notification again to continue my activities, which suggests that the page is getting stuck. Refresh works once or twice but not every time.

And this problem is happening only in MDL and not in other sites. I have also tried using different devices and browsers

I would appreciate assistance in resolving these issues.