snake: fixed food spawn bug