Engine error

Hello everybody!
I have a game that consisted of a picture and some textures the same size look like dust. And when I move the pointer it should check if a pixel is not transparent then erase it and count the total score. And sometimes (very rarely) I have this kind of mistake. I have only this stack from Phaser engine.