Oh...wow, this bug is interesting! Thank you for reporting!
EDIT: It was an issue with the Hurt flag. Tails should not grab you when you're hurt. It will be patched in 1.15.