Note stuck and plays endlessly

Hello All,
On Cubase Elements 10 the note keeps playing continuously, until i press the same note on the keyboard to stop it.
Makes me lose my patience when trying to move or shift any note on Editor window.
I have a Yamaha sustain pedal connected to my Axiom 61 midi controller.

Any help will really work here please.

Flip the polarity on your yamaha pedal on the Axiom.

@Shanabit;
i tried the polarity flip, it still work.
Got the Cubase Elements and Halion updated to the latest version, and the problem has solved.
Thank you.