Huh, I remember fixing them in the past… Guess have to transfer solution from the version that was never released :D Thanks for reporting bugs!
Bad news! I took your game's code from GitHub and modified it to my liking, adding new music and other things. Even if you fix this bug, it won't be fixed when I modify it.
Bad news? That’s where git comes in handy and it will allow you to merge new changes from master branch. Just have to be a little careful with that.