Fix a rare bug in which game flags can carry over between different players if switched immediately on the same browser tab