Additional changes to af8befd: Fixed that unloaded skin is not deleted properly in rare case.