Fixed crashes because expanding text area was not cleaned properly on destroy