[composer] Fix annotation settings only being applied to first grid in list, not selected grid (fix #10880)