Fix text destruction