i figured out a fix, just don't play the game in full screen. the phone stops glitching when full screen is not on
thank you :)