Fixed a bug with Player serialization