I reproduced it now after checking on it some more. I think it probably has something to do with the enemy animation and you moving at the same time as it only shows up near the enemy, only sometimes, and usually while you are moving (though it may have happened to me before when staying still too occasionally). Here is a gif with the frames paused where it's happening for emphasis.