Fixed compartment remaining resident when disabling/uninstalling.