Fixed replays crashing with a desync exception

as described in https://github.com/OpenRA/OpenRA/issues/6910 and researched in https://github.com/OpenRA/OpenRA/pull/6689.