Fixed nil player errors when changing characters