Hime Command: Enemy Talk bug

Hello everyone!
I've been using this script by Hime, but I've run into a pretty major bug.
Whenever you select the Talk command, it prompts you to the enemy selection box. That's all good. However, say you want to perform a different action. You would normally press the X key to go back to the command screen. However, no matter which command you choose, the actor will try to talk to the enemy as if you chose the Talk command.
I've tried it in a separate project, but to no avail.

Original thread: https://forums.rpgmakerweb.com/threads/hime-command-enemy-talk-bug.80242/