Fixed player object bug