fix crash: CoinControl "space" bug
fix crash: CoinControl "space" bug

Just like https://github.com/novacoin-project/novacoin/commit/baf80c26a2e7f1ba6061d63d174eff0a09111e6f

Github-Pull: #5700
Rebased-From: 944c256741b260bd8b758be4a0543af1cb080943

fussl/elements,supcoin/supcoin,pstratem/elements,fullcoins/fullcoin,npccoin/npccoin,LIMXTEC/DMDv3,ingresscoin/ingresscoin,crowning-/dash,truthcoin/blocksize-market,benzmuircroft/REWIRE.io,ivansib/sibcoin,presstab/PIVX,apoelstra/elements,midnight-miner/LasVegasCoin,ColossusCoinXT/ColossusCoinXT,supcoin/supcoin,MonetaryUnit/MUE-Src,ptschip/bitcoinxt,Petr-Economissa/gvidon,dev1972/Satellitecoin,rsdevgun16e/energi,ediston/energi,koharjidan/litecoin,CoinProjects/AmsterdamCoin-v4,worldbit/worldbit,mikehearn/bitcoinxt,Electronic-Gulden-Foundation/egulden,pstratem/elements,dev1972/Satellitecoin,nmarley/dash,ptschip/bitcoinxt,Thracky/monkeycoin,DMDcoin/Diamond,ptschip/bitcoinxt,rsdevgun16e/energi,ivansib/sib16,pinkevich/dash,ColossusCoinXT/ColossusCoinXT,puticcoin/putic,OstlerDev/florincoin,fussl/elements,dashpay/dash,benzmuircroft/REWIRE.io,BlockchainTechLLC/3dcoin,OstlerDev/florincoin,crowning-/dash,sipa/elements,zottejos/merelcoin,HeliumGas/helium,worldbit/worldbit,LIMXTEC/DMDv3,rsdevgun16e/energi,mycointest/owncoin,lakepay/lake,alejandromgk/Lunar,BlockchainTechLLC/3dcoin,fullcoins/fullcoin,florincoin/florincoin,putinclassic/putic,Thracky/monkeycoin,keesdewit82/LasVegasCoin,diggcoin/diggcoin,kleetus/bitcoinxt,diggcoin/diggcoin,Darknet-Crypto/Darknet,NunoEdgarGub1/elements,upgradeadvice/MUE-Src,ptschip/bitcoinxt,apoelstra/elements,antcheck/antcoin,MazaCoin/mazacoin-new,kleetus/bitcoinxt,diggcoin/diggcoin,aburan28/elements,fullcoins/fullcoin,sipa/elements,OstlerDev/florincoin,MazaCoin/maza,rsdevgun16e/energi,ediston/energi,Rav3nPL/doubloons-0.10,koharjidan/litecoin,RyanLucchese/energi,slingcoin/sling-market,Electronic-Gulden-Foundation/egulden,PandaPayProject/PandaPay,supcoin/supcoin,mapineda/litecoin,biblepay/biblepay,willwray/dash,OmniLayer/omnicore,genavarov/brcoin,aburan28/elements,genavarov/lamacoin,coinkeeper/2015-06-22_18-52_viacoin,Darknet-Crypto/Darknet,UdjinM6/dash,ingresscoin/ingresscoin,mikehearn/bitcoinxt,MazaCoin/maza,aburan28/elements,ahmedbodi/test2,pinkevich/dash,pelorusjack/BlockDX,coinkeeper/2015-06-22_18-52_viacoin,PIVX-Project/PIVX,nmarley/dash,aburan28/elements,ticclassic/ic,octocoin-project/octocoin,crowning-/dash,cerebrus29301/crowncoin,48thct2jtnf/P,OstlerDev/florincoin,LIMXTEC/DMDv3,jtimon/elements,keesdewit82/LasVegasCoin,upgradeadvice/MUE-Src,projectinterzone/ITZ,Bloom-Project/Bloom,MazaCoin/mazacoin-new,PandaPayProject/PandaPay,midnight-miner/LasVegasCoin,genavarov/ladacoin,NunoEdgarGub1/elements,BlockchainTechLLC/3dcoin,Vsync-project/Vsync,oklink-dev/bitcoin,Vsync-project/Vsync,diggcoin/diggcoin,Mrs-X/Darknet,NunoEdgarGub1/elements,Electronic-Gulden-Foundation/egulden,jtimon/elements,lakepay/lake,antcheck/antcoin,puticcoin/putic,okinc/bitcoin,fussl/elements,supcoin/supcoin,ArgonToken/ArgonToken,ahmedbodi/test2,keesdewit82/LasVegasCoin,rdqw/sscoin,pascalguru/florincoin,Electronic-Gulden-Foundation/egulden,GwangJin/gwangmoney-core,RibbitFROG/ribbitcoin,projectinterzone/ITZ,benzmuircroft/REWIRE.io,fussl/elements,axelxod/braincoin,PIVX-Project/PIVX,fussl/elements,slingcoin/sling-market,florincoin/florincoin,capitalDIGI/litecoin,octocoin-project/octocoin,upgradeadvice/MUE-Src,biblepay/biblepay,ionomy/ion,crowning-/dash,nmarley/dash,dmrtsvetkov/flowercoin,RibbitFROG/ribbitcoin,lakepay/lake,MonetaryUnit/MUE-Src,aspirecoin/aspire,biblepay/biblepay,jmgilbert2/energi,pstratem/elements,inkvisit/sarmacoins,oklink-dev/bitcoin,puticcoin/putic,dmrtsvetkov/flowercoin,oklink-dev/bitcoin,terracoin/terracoin,ahmedbodi/test2,dev1972/Satellitecoin,xuyangcn/opalcoin,ionomy/ion,mockcoin/mockcoin,RyanLucchese/energi,Vsync-project/Vsync,coinkeeper/2015-06-22_18-52_viacoin,RibbitFROG/ribbitcoin,truthcoin/blocksize-market,mycointest/owncoin,putinclassic/putic,schinzelh/dash,koharjidan/litecoin,okinc/bitcoin,presstab/PIVX,putinclassic/putic,Rav3nPL/doubloons-0.10,ionomy/ion,ahmedbodi/test2,DynamicCoinOrg/DMC,ingresscoin/ingresscoin,willwray/dash,cerebrus29301/crowncoin,joulecoin/joulecoin,ivansib/sibcoin,ivansib/sib16,MazaCoin/maza,Mrs-X/PIVX,Kenwhite23/litecoin,Mrs-X/Darknet,dashpay/dash,terracoin/terracoin,Mrs-X/PIVX,okinc/bitcoin,mycointest/owncoin,Petr-Economissa/gvidon,antcheck/antcoin,npccoin/npccoin,ticclassic/ic,presstab/PIVX,KibiCoin/kibicoin,mycointest/owncoin,biblepay/biblepay,UdjinM6/dash,benzmuircroft/REWIRE.io,nmarley/dash,capitalDIGI/litecoin,Mrs-X/Darknet,ediston/energi,BlockchainTechLLC/3dcoin,antcheck/antcoin,Thracky/monkeycoin,aburan28/elements,midnight-miner/LasVegasCoin,Darknet-Crypto/Darknet,jmgilbert2/energi,NunoEdgarGub1/elements,RibbitFROG/ribbitcoin,presstab/PIVX,puticcoin/putic,CoinProjects/AmsterdamCoin-v4,crowning-/dash,genavarov/ladacoin,pinkevich/dash,xuyangcn/opalcoin,ahmedbodi/test2,nmarley/dash,tropa/axecoin,apoelstra/elements,PandaPayProject/PandaPay,PandaPayProject/PandaPay,terracoin/terracoin,Thracky/monkeycoin,rdqw/sscoin,coinkeeper/2015-06-22_18-52_viacoin,48thct2jtnf/P,genavarov/brcoin,LIMXTEC/DMDv3,puticcoin/putic,zottejos/merelcoin,DynamicCoinOrg/DMC,ptschip/bitcoinxt,NunoEdgarGub1/elements,kleetus/bitcoinxt,kleetus/bitcoinxt,sipa/elements,inkvisit/sarmacoins,supcoin/supcoin,slingcoin/sling-market,dmrtsvetkov/flowercoin,genavarov/ladacoin,pstratem/elements,npccoin/npccoin,Kenwhite23/litecoin,my-first/octocoin,jmgilbert2/energi,MonetaryUnit/MUE-Src,Darknet-Crypto/Darknet,mockcoin/mockcoin,HeliumGas/helium,mapineda/litecoin,MazaCoin/maza,capitalDIGI/litecoin,pascalguru/florincoin,mikehearn/bitcoinxt,fussl/elements,jmgilbert2/energi,jtimon/elements,DynamicCoinOrg/DMC,cerebrus29301/crowncoin,MonetaryUnit/MUE-Src,xuyangcn/opalcoin,OmniLayer/omnicore,npccoin/npccoin,florincoin/florincoin,Rav3nPL/doubloons-0.10,OstlerDev/florincoin,genavarov/ladacoin,aspirecoin/aspire,worldbit/worldbit,PandaPayProject/PandaPay,sipa/elements,ArgonToken/ArgonToken,KibiCoin/kibicoin,worldbit/worldbit,lakepay/lake,xawksow/GroestlCoin,Thracky/monkeycoin,HeliumGas/helium,ionomy/ion,pelorusjack/BlockDX,mapineda/litecoin,gwillen/elements,Bloom-Project/Bloom,octocoin-project/octocoin,fullcoins/fullcoin,my-first/octocoin,rdqw/sscoin,dashpay/dash,OmniLayer/omnicore,aspirecoin/aspire,nmarley/dash,diggcoin/diggcoin,mockcoin/mockcoin,tropa/axecoin,Vsync-project/Vsync,thelazier/dash,antcheck/antcoin,pelorusjack/BlockDX,willwray/dash,xuyangcn/opalcoin,pstratem/elements,dev1972/Satellitecoin,genavarov/lamacoin,gwillen/elements,mapineda/litecoin,aspirecoin/aspire,DMDcoin/Diamond,capitalDIGI/DIGI-v-0-10-4,slingcoin/sling-market,biblepay/biblepay,droark/elements,mikehearn/bitcoinxt,ColossusCoinXT/ColossusCoinXT,tropa/axecoin,joulecoin/joulecoin,genavarov/lamacoin,schinzelh/dash,lakepay/lake,ingresscoin/ingresscoin,benzmuircroft/REWIRE.io,cerebrus29301/crowncoin,aspirecoin/aspire,oklink-dev/bitcoin,projectinterzone/ITZ,genavarov/brcoin,dashpay/dash,ivansib/sibcoin,biblepay/biblepay,genavarov/lamacoin,koharjidan/litecoin,HeliumGas/helium,fullcoins/fullcoin,alejandromgk/Lunar,HeliumGas/helium,KibiCoin/kibicoin,florincoin/florincoin,Mrs-X/PIVX,MonetaryUnit/MUE-Src,benzmuircroft/REWIRE.io,pinkevich/dash,Mrs-X/PIVX,ivansib/sib16,rdqw/sscoin,RibbitFROG/ribbitcoin,GwangJin/gwangmoney-core,zottejos/merelcoin,RyanLucchese/energi,genavarov/brcoin,droark/elements,NunoEdgarGub1/elements,ediston/energi,npccoin/npccoin,pascalguru/florincoin,jtimon/elements,Bloom-Project/Bloom,ivansib/sibcoin,UdjinM6/dash,pinkevich/dash,RibbitFROG/ribbitcoin,octocoin-project/octocoin,my-first/octocoin,Vsync-project/Vsync,npccoin/npccoin,ingresscoin/ingresscoin,axelxod/braincoin,mockcoin/mockcoin,slingcoin/sling-market,ArgonToken/ArgonToken,pascalguru/florincoin,dashpay/dash,genavarov/ladacoin,nmarley/dash,Bloom-Project/Bloom,biblepay/biblepay,HeliumGas/helium,mockcoin/mockcoin,okinc/bitcoin,MazaCoin/mazacoin-new,Kenwhite23/litecoin,DMDcoin/Diamond,coinkeeper/2015-06-22_18-52_viacoin,48thct2jtnf/P,apoelstra/elements,GwangJin/gwangmoney-core,kleetus/bitcoinxt,inkvisit/sarmacoins,worldbit/worldbit,kleetus/bitcoinxt,Bloom-Project/Bloom,axelxod/braincoin,CoinProjects/AmsterdamCoin-v4,inkvisit/sarmacoins,PIVX-Project/PIVX,putinclassic/putic,Thracky/monkeycoin,ivansib/sibcoin,genavarov/brcoin,capitalDIGI/DIGI-v-0-10-4,apoelstra/elements,BlockchainTechLLC/3dcoin,aspirecoin/aspire,axelxod/braincoin,florincoin/florincoin,rsdevgun16e/energi,diggcoin/diggcoin,midnight-miner/LasVegasCoin,gwillen/elements,genavarov/ladacoin,grumpydevelop/singularity,willwray/dash,freelion93/mtucicoin,mapineda/litecoin,LIMXTEC/DMDv3,gwillen/elements,PIVX-Project/PIVX,cerebrus29301/crowncoin,Electronic-Gulden-Foundation/egulden,KibiCoin/kibicoin,zottejos/merelcoin,joulecoin/joulecoin,CoinProjects/AmsterdamCoin-v4,capitalDIGI/DIGI-v-0-10-4,grumpydevelop/singularity,octocoin-project/octocoin,truthcoin/blocksize-market,schinzelh/dash,Mrs-X/Darknet,xawksow/GroestlCoin,DynamicCoinOrg/DMC,dmrtsvetkov/flowercoin,xawksow/GroestlCoin,MazaCoin/maza,capitalDIGI/DIGI-v-0-10-4,midnight-miner/LasVegasCoin,MonetaryUnit/MUE-Src,KibiCoin/kibicoin,ionomy/ion,Darknet-Crypto/Darknet,alejandromgk/Lunar,UdjinM6/dash,my-first/octocoin,gwillen/elements,genavarov/brcoin,joulecoin/joulecoin,grumpydevelop/singularity,droark/elements,ingresscoin/ingresscoin,ColossusCoinXT/ColossusCoinXT,PIVX-Project/PIVX,Rav3nPL/doubloons-0.10,xawksow/GroestlCoin,truthcoin/blocksize-market,Bloom-Project/Bloom,thelazier/dash,Darknet-Crypto/Darknet,Petr-Economissa/gvidon,grumpydevelop/singularity,Electronic-Gulden-Foundation/egulden,thelazier/dash,presstab/PIVX,terracoin/terracoin,Kenwhite23/litecoin,Mrs-X/PIVX,jmgilbert2/energi,upgradeadvice/MUE-Src,PandaPayProject/PandaPay,crowning-/dash,Petr-Economissa/gvidon,willwray/dash,Vsync-project/Vsync,OmniLayer/omnicore,pascalguru/florincoin,putinclassic/putic,dmrtsvetkov/flowercoin,48thct2jtnf/P,cerebrus29301/crowncoin,dmrtsvetkov/flowercoin,midnight-miner/LasVegasCoin,xawksow/GroestlCoin,capitalDIGI/DIGI-v-0-10-4,pelorusjack/BlockDX,octocoin-project/octocoin,supcoin/supcoin,GwangJin/gwangmoney-core,freelion93/mtucicoin,RyanLucchese/energi,pstratem/elements,grumpydevelop/singularity,ediston/energi,projectinterzone/ITZ,MazaCoin/mazacoin-new,koharjidan/litecoin,slingcoin/sling-market,OmniLayer/omnicore,ArgonToken/ArgonToken,my-first/octocoin,puticcoin/putic,Mrs-X/Darknet,keesdewit82/LasVegasCoin,keesdewit82/LasVegasCoin,RyanLucchese/energi,axelxod/braincoin,aburan28/elements,presstab/PIVX,ivansib/sib16,OstlerDev/florincoin,fullcoins/fullcoin,schinzelh/dash,pascalguru/florincoin,ticclassic/ic,Kenwhite23/litecoin,okinc/bitcoin,DMDcoin/Diamond,inkvisit/sarmacoins,freelion93/mtucicoin,dev1972/Satellitecoin,CoinProjects/AmsterdamCoin-v4,zottejos/merelcoin,PIVX-Project/PIVX,terracoin/terracoin,pinkevich/dash,truthcoin/blocksize-market,thelazier/dash,keesdewit82/LasVegasCoin,mycointest/owncoin,freelion93/mtucicoin,MazaCoin/mazacoin-new,biblepay/biblepay,oklink-dev/bitcoin,PIVX-Project/PIVX,Rav3nPL/doubloons-0.10,dev1972/Satellitecoin,ArgonToken/ArgonToken,droark/elements,Petr-Economissa/gvidon,MazaCoin/mazacoin-new,sipa/elements,jtimon/elements,pelorusjack/BlockDX,ivansib/sib16,mockcoin/mockcoin,willwray/dash,BlockchainTechLLC/3dcoin,xawksow/GroestlCoin,UdjinM6/dash,terracoin/terracoin,zottejos/merelcoin,PIVX-Project/PIVX,rsdevgun16e/energi,koharjidan/litecoin,thelazier/dash,rdqw/sscoin,ticclassic/ic,ivansib/sib16,xuyangcn/opalcoin,48thct2jtnf/P,grumpydevelop/singularity,MazaCoin/maza,okinc/bitcoin,ColossusCoinXT/ColossusCoinXT,my-first/octocoin,genavarov/lamacoin,ivansib/sibcoin,48thct2jtnf/P,Kenwhite23/litecoin,worldbit/worldbit,alejandromgk/Lunar,DMDcoin/Diamond,alejandromgk/Lunar,freelion93/mtucicoin,ColossusCoinXT/ColossusCoinXT,PIVX-Project/PIVX,freelion93/mtucicoin,OmniLayer/omnicore,CoinProjects/AmsterdamCoin-v4,DMDcoin/Diamond,capitalDIGI/DIGI-v-0-10-4,schinzelh/dash,Rav3nPL/doubloons-0.10,DynamicCoinOrg/DMC,joulecoin/joulecoin,schinzelh/dash,droark/elements,ahmedbodi/test2,jmgilbert2/energi,droark/elements,apoelstra/elements,truthcoin/blocksize-market,mikehearn/bitcoinxt,jtimon/elements,LIMXTEC/DMDv3,axelxod/braincoin,pelorusjack/BlockDX,tropa/axecoin,genavarov/lamacoin,putinclassic/putic,xuyangcn/opalcoin,antcheck/antcoin,KibiCoin/kibicoin,lakepay/lake,oklink-dev/bitcoin,capitalDIGI/litecoin,ticclassic/ic,gwillen/elements,ionomy/ion,capitalDIGI/litecoin,RyanLucchese/energi,rdqw/sscoin,Petr-Economissa/gvidon,upgradeadvice/MUE-Src,sipa/elements,tropa/axecoin,ticclassic/ic,Mrs-X/Darknet,ArgonToken/ArgonToken,tropa/axecoin,coinkeeper/2015-06-22_18-52_viacoin,mycointest/owncoin,alejandromgk/Lunar,florincoin/florincoin,mapineda/litecoin,joulecoin/joulecoin,DynamicCoinOrg/DMC,inkvisit/sarmacoins,upgradeadvice/MUE-Src,mikehearn/bitcoinxt,capitalDIGI/litecoin,Mrs-X/PIVX,projectinterzone/ITZ,ediston/energi,ptschip/bitcoinxt