Thanks for the feedback!
At this point I didn't even care about the coins. I used them as bug triggers. The game ends even if you don't collect any coins. Your question gave me an idea of a simple intentional bug which I will add after the jam.