how to fix the game client from randomly tabbing out during a match

the game client would randomly tab out during a match, causing me to die and let down my team. i decided to fix the issue. i am leaving this video here to alert riot and maybe they can fix it without us having to change our settings.
Report as:
Offensive Spam Harassment Incorrect Board