The solution is only temporary and users will probably have to wait for another software update fixing this issue but it seems to be working just fine.
The key to fix this is executing the following command into the terminal:
To make this automated, you can use Tasker and create this specific task for command execution every time the screen turns ON.
Open Tasker, add a new profile, navigate to state -> display -> display state, choose ON, then create a new task.
Add an action code -> run shell and input the command cat /sys/class/input/input0/baseline_test which will be executed when the screen turns ON. Make sure root option is ticked and profile with the task is activated. You're good to go!
You might want to check the quick video by +Greg Ives if you're unsure about the guide.
Don't have Tasker? You might consider buying it! Tasker adds automatic tasks (that you create), events, triggers, whatever you don't want to do manually anymore, Tasker will do for you!
Download Tasker on Google Play