I've noticed the glitch that sometimes happen. I'll definitely look into the code and improve. Want to continue working on the game when the jam is over.