For now, the only real fix available is to avoid resting your palm or fingers for too long on the edges of the iPhone. If you have an iPhone 16, especially avoid the display portion near the Camera ...
The most common cause of this issue seems to be the finger resting near the edge closest to Camera Control. However, the issue also occurs with all four screen edges.