fix #27761
fix #27851: Cannot change time signature between cut time, common time, and 4/4
fix #27766