Update current time step in UI before expecting step
The UI displays the current time step after it has already been incremented in the simulation context. This causes a mismatch where the UI shows the next step's time while debugging, leading to confusing behavior. The fix involves ensuring the UI is updated with the correct time step before it's expected.