fix spanner ticks when removing measures and undo