fix: view is not removed after hiding;