[E2] Made sounds that are parented on entities stop when their parent is destroyed

Apparently the sounds kept playing and soundStop() wouldn't work after the entity had been deleted, resulting in having looping sounds that would never stop.