Avoid deleting GUI element that's already gone.