Bug when stopping a primitive.