Quick note here for some users who have been passing by this project, I am not maintaining this port as I've been focusing working on other projects. This page will soon be updated to state that it's development progress is slow.
This bug has been pointed out as common. If you resize the colour match game, it can dupe (as you mentioned that it loops the gameover sound and spam the coins and levels up).