fix affix is not visible under circumstances when a panel is closed