My last glitch i had in game i recently made was with the scrolling credits.
I put the text position in integers and the math used to update it was in float. So when the delta was calculated it was less then 1. It just sat in the same place until the frame rate dropped enough. (never)
Changing the position to float made it silky smooth.