Correctly the x y position of player

correct the grid problems with the last check in.