fix #31971: Staff names of hidden instruments appear