updatePosition in Player was fixed