Same bug in 10.5 that’s been there forever.
In step entry you enter a wrong note. Do an Undo (Ctrl-Z). The wrong note is removed. But you’re not done. You also must adjust the entry position for the next note.
You should be able to just execute an Undo, and pick up from there by entering the correct note.