its happens when you enter the hitbox, move out and move back in, you arent supposed to just stay still and jump (the shadows help visualling the hitbox)
how do u dmg the enemies? how i do it is i enter their hit box then jump and attack them, but it does nothing half the time but half the time it damages teh enemy