fixed bug with players x

if the players x & y changed then it set the x to 0