Default In call phone screen won't turn on

I've noticed while in a call, my phone screen doesn't come on as i put it away from my ear. I had to struggle to press it a few times on the power button to get the screen back on.
Do i need to flash some kinda radio or something to fix this? I've noticed it happened in my previous roms that I have used.