Fix region view destroy bug.

Fixes #1666