Fixed Game side switching bug

And a few other bugs,