This is not a bug, but a known side effect of piercing damage mechanics, which the Slime summon uses.
While it can interfere with combat, and it may be something we change in the future, it is not considered a bug at this time. The same thing applies to many sources of constant damage.