In Elite Caves of Tarewa, cocoons are left behind even after you break out of them. My skills and auto-attack aim at the cocoon rather than the Arachna boss. I understand that we are meant to hit the cocoons when party members are trapped inside, but once they are freed, those cocoons need to go.