The problem is caused by an error during deactivation. During deactivation the system tries to activate another view and that fails (error code ERROR_CANT_ACCEPT_FOCUS). This causes the active_state of oView3 to remain true and it also keeps a Window_Handle.

The solution is to first move the focus to the remaining view and then deactivate all 3 views.