Fixed a bug in switching where pokemon would change teams.