To reproduce the error:
1) Open a fullscreen;
2) change focus (shift+tab);
3) press ESC;
4) Try to close the window in fullscreen.
The snippet partially contains parts of the answers from > https://forum.webix.com/discussion/36290/window-hotkeys
It looks like you're new here. If you want to get involved, click one of these buttons!