fixed bug with players x

when players x & y changed, x would be set to 0