I recorded a video of it happening on the latest version. It seems indeed an issue with hurt boxes.
Maybe you can just clear all of them at the start of each dialogue section? But might still not solve things (e.g. if attacks then do not recreate them). Could I ask if you are using Godot? Great game by the way, very interesting to take the opposite perspective than that of most games!