Candy Breaking produce flickering candies.

Let say I have this

I want all 3-match and above to pop out and all things above it fall down as it pop.
But when one match pops out, the candies start to flicker. Help :-\

Here’s my code for the pop and getting all the matches:

My suggestion is to put your code in a minimal example, so other people can understand it and maybe help you, only fragments of code … is really hard to understand correctly your problem

Ohhh, I’m sorry. You can see all of my code Here on my GitHub. ;D

I’m just wandering. Maybe I need to pop the candies immediately after a match has been found to fix that problem instead of popping all matches at once?

[quote]I’m just wandering. Maybe I need to pop the candies immediately after a match has been found to fix that problem instead of popping all matches at once?
[/quote]
And yeah this fixed my problem. ;D

And also I need to remove all tiles in the matches after I pop them out. That’s why all candies start to flicker.