Undo (Ctrl + Z) doesn't work when using the different keyboard layout (different language)

Need workaround to make “Ctrl+Z” (Undo) work in different keyboard layout (different language) ?

Here the issue:

When russian keyboard is active, even clicking “Undo” with mouse - doesn’t work.
AHK script with “scan codes” and “virtual keys” doesn’t work as well.