MV Gamefocus.js Bug, could someone help fix it?

Using the default Gamefocus.js included with RPG Maker MV, if you press Tab for any reason while playing your game, it will lock up until you minimize/click out of the window and then go back into it.

I was wondering if anyone would be able to patch the plugin up or provide an alternative. It's a really nice thing to have for people who may be multi-tasking, but I can't keep it in my game if someone pressing Tab will appear to break it.

Thanks in advance!
Moved to: Plugin Support
Actually, you can't change the button because it has nothing to do with the button itself. It's never been waiting for you to press it. Instead it's just checking every n milliseconds if your game tab is on focus or not.
What plugin is this? You say it's included in MV, but I don't see GameFocus listed in my KadokawaPlugins folder, nor in my KadokawaPlugins_New folder.
EDIT: Just open the RPGmakerWeb_plugins/Zalerinian directory.
Thanks, @kyonides, I didn't realize that got installed with MV. I thought it was something I'd downloaded separately.

So I can verify this, but I'm unsure of the cause...does the browser window think there's some other input field that you're tabbing into?

I wonder how it was discovered in the first place - why are your players randomly hitting Tab? 😛
Thanks, @kyonides, I didn't realize that got installed with MV. I thought it was something I'd downloaded separately.

So I can verify this, but I'm unsure of the cause...does the browser window think there's some other input field that you're tabbing into?

I wonder how it was discovered in the first place - why are your players randomly hitting Tab? 😛
That could be why. I'd like to say one could just axe the use of the Tab key while the window is open or something but then people wouldn't be able to Alt-Tab out. If that's even possible to do. I don't really know how you would fix it in that case without writing an entirely different plugin that functions differently.

This particular player isn't too versed with PC gaming. It seems like he clicked it on accident because it happened while he was just walking on a map and not doing anything else. Perhaps he thought it would open the menu but it doesn't sound that way to me, just like he pressed it by mistake.

Original thread: https://forums.rpgmakerweb.com/threads/gamefocus-js-bug-could-someone-help-fix-it.155007/