Fix region view destroy bug.