Fix bug when invoking a helm window