MachineStateModal: fix initial state glitch