Can you try and record the sound glitch?
It's by design that the call will go from earpiece to speaker when you start a game. I what scenario would you want to keep the sound coming from the earpiece while playing a game?
If you have earphones connected, then the sound will continue coming from your earphones even after you have started the game.
Thanks!