unclip layers on destroy