Welcome to Android Central! When you're playing those games, can you tell that screenshots are being taken? This should be obvious -- when you take a screenshot, you should see a freezeframe of the shot for about a second, then it should disappear. If that's the case, then maybe you're accidentally using the palm swipe gesture while playing the games, and this is triggering a screen capture.