Player Character Sudden Movement Delay

Hello to all. I was testing my game to see if everything was working properly, and when my player character moved, it had an input delay. For example, if I was moving left and then pressed the right arrow key, the character would go left again, and then he would go to the right. Movement was working normally before, and I didn't change any of the game and plugins settings. Is there a way that I can fix this?

Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/player-character-sudden-movement-delay.139209/