It happens sometimes. I don't get it a lot but it's a problem. I really don't know what to say, I've found a way to bypass that bug but I don't know how LOL

Sounds crazy, try different kind of attacks, physical, magic, true damage. I think one of those prevents this bug.