[bugfix] Only call onStart, etc. once in replay windows

See merge request main/Sumatra!1526

sumatra-commit: 1f480f5f9ca032d8656850dc0586d2f740599245
2 jobs for master in 8 minutes and 50 seconds (queued for 1 second)