Fix trade windows crashing after a new game