My kid played one of those tricks on me recently as well. Apparently there's a little maze "game" where as you work your mouse through the game ~ you can't touch the sides. When you touch the sides (regardless of how many levels you make it through before you eventually touch), that scary face & scream pops up.
I do not have a good sense of humor. I was not at all pleased with his trick. =)