Fixed bug with the wrong players being used as the local player