idk if this would help much but for anyone else reading, maybe setting the frame rate to 30 will cause it to use less resources & thus glitch out less often