My Xiaomi Mi 10T Lite locks itself when I'm gaming while being in a WhatsApp call


Jun 4, 2021
I've a Xiaomi Mi 10T Lite running 21.6.16 Weekly ROM.
When I'm gaming while being in a WhatsApp call, my phone locks itself and goes black.
Turning off the proximity sensor hasn't fixed the issue.
It only stops when I game and talk on the same time on WhatsApp with headphones or earbuds plugged in.
My phone is running the latest Weekly ROM.
Is this fixable or is this a bug of the ROM?
If it's fixable, how can I fix it?

Sent from my M2007J17G using Tapatalk