Han/Yeong switching over remote
Your Korean/English key is sent as the remote OS's own key (macOS F18, Windows VK_HANGUL, Linux Hangul). A controlled Mac switches its input source directly on remote F18, LANG1 and Hangul keys. You can turn it off under Settings → General → Keyboard.