Fix region view destroy bug.

Fixes #1666 
it is part of the bug fix, the code got much worse without this