Use a reasonable default canvas size if the current width or height is 0. Apparently due to a race condition, the width ist occasionally reported as 0 when the script is parsed. This is followed up by a resize anyway, which then sets the correct dimensions.
Use a reasonable default canvas size if the current width or height is 0.
Apparently due to a race condition, the width ist occasionally reported as 0 when the script is parsed. This is followed up by a resize anyway, which then sets the correct dimensions.

4talesa/rethinkdb,elkingtonmcb/rethinkdb,sontek/rethinkdb,alash3al/rethinkdb,AtnNn/rethinkdb,Wilbeibi/rethinkdb,sebadiaz/rethinkdb,ayumilong/rethinkdb,sebadiaz/rethinkdb,ajose01/rethinkdb,ayumilong/rethinkdb,tempbottle/rethinkdb,catroot/rethinkdb,grandquista/rethinkdb,urandu/rethinkdb,bpradipt/rethinkdb,jfriedly/rethinkdb,mcanthony/rethinkdb,spblightadv/rethinkdb,mbroadst/rethinkdb,mquandalle/rethinkdb,mbroadst/rethinkdb,victorbriz/rethinkdb,jmptrader/rethinkdb,Qinusty/rethinkdb,Wilbeibi/rethinkdb,urandu/rethinkdb,4talesa/rethinkdb,Qinusty/rethinkdb,mcanthony/rethinkdb,wojons/rethinkdb,bpradipt/rethinkdb,AntouanK/rethinkdb,losywee/rethinkdb,KSanthanam/rethinkdb,sebadiaz/rethinkdb,JackieXie168/rethinkdb,RubenKelevra/rethinkdb,mbroadst/rethinkdb,pap/rethinkdb,captainpete/rethinkdb,robertjpayne/rethinkdb,jmptrader/rethinkdb,marshall007/rethinkdb,ajose01/rethinkdb,RubenKelevra/rethinkdb,ajose01/rethinkdb,wojons/rethinkdb,sontek/rethinkdb,sontek/rethinkdb,Qinusty/rethinkdb,eliangidoni/rethinkdb,yakovenkodenis/rethinkdb,wkennington/rethinkdb,matthaywardwebdesign/rethinkdb,grandquista/rethinkdb,nviennot/rethinkdb,gdi2290/rethinkdb,catroot/rethinkdb,greyhwndz/rethinkdb,tempbottle/rethinkdb,gavioto/rethinkdb,JackieXie168/rethinkdb,robertjpayne/rethinkdb,spblightadv/rethinkdb,elkingtonmcb/rethinkdb,lenstr/rethinkdb,lenstr/rethinkdb,sontek/rethinkdb,sontek/rethinkdb,eliangidoni/rethinkdb,jesseditson/rethinkdb,sbusso/rethinkdb,marshall007/rethinkdb,elkingtonmcb/rethinkdb,scripni/rethinkdb,jmptrader/rethinkdb,Qinusty/rethinkdb,elkingtonmcb/rethinkdb,nviennot/rethinkdb,catroot/rethinkdb,mbroadst/rethinkdb,mquandalle/rethinkdb,elkingtonmcb/rethinkdb,ajose01/rethinkdb,grandquista/rethinkdb,mbroadst/rethinkdb,AtnNn/rethinkdb,scripni/rethinkdb,urandu/rethinkdb,eliangidoni/rethinkdb,gdi2290/rethinkdb,jfriedly/rethinkdb,4talesa/rethinkdb,lenstr/rethinkdb,Wilbeibi/rethinkdb,yakovenkodenis/rethinkdb,scripni/rethinkdb,eliangidoni/rethinkdb,losywee/rethinkdb,matthaywardwebdesign/rethinkdb,dparnell/rethinkdb,urandu/rethinkdb,jesseditson/rethinkdb,sbusso/rethinkdb,jfriedly/rethinkdb,spblightadv/rethinkdb,KSanthanam/rethinkdb,nviennot/rethinkdb,grandquista/rethinkdb,grandquista/rethinkdb,eliangidoni/rethinkdb,jfriedly/rethinkdb,JackieXie168/rethinkdb,yaolinz/rethinkdb,wujf/rethinkdb,mbroadst/rethinkdb,sontek/rethinkdb,sbusso/rethinkdb,eliangidoni/rethinkdb,sebadiaz/rethinkdb,dparnell/rethinkdb,yakovenkodenis/rethinkdb,mquandalle/rethinkdb,alash3al/rethinkdb,mbroadst/rethinkdb,greyhwndz/rethinkdb,urandu/rethinkdb,jmptrader/rethinkdb,jfriedly/rethinkdb,Qinusty/rethinkdb,scripni/rethinkdb,AtnNn/rethinkdb,victorbriz/rethinkdb,wojons/rethinkdb,rrampage/rethinkdb,bchavez/rethinkdb,4talesa/rethinkdb,wojons/rethinkdb,losywee/rethinkdb,Qinusty/rethinkdb,elkingtonmcb/rethinkdb,victorbriz/rethinkdb,KSanthanam/rethinkdb,bpradipt/rethinkdb,grandquista/rethinkdb,jmptrader/rethinkdb,matthaywardwebdesign/rethinkdb,lenstr/rethinkdb,niieani/rethinkdb,nviennot/rethinkdb,sbusso/rethinkdb,tempbottle/rethinkdb,JackieXie168/rethinkdb,AntouanK/rethinkdb,dparnell/rethinkdb,JackieXie168/rethinkdb,Wilbeibi/rethinkdb,spblightadv/rethinkdb,spblightadv/rethinkdb,bpradipt/rethinkdb,yaolinz/rethinkdb,AntouanK/rethinkdb,KSanthanam/rethinkdb,RubenKelevra/rethinkdb,wojons/rethinkdb,captainpete/rethinkdb,sbusso/rethinkdb,scripni/rethinkdb,Wilbeibi/rethinkdb,robertjpayne/rethinkdb,ajose01/rethinkdb,robertjpayne/rethinkdb,4talesa/rethinkdb,dparnell/rethinkdb,alash3al/rethinkdb,Wilbeibi/rethinkdb,rrampage/rethinkdb,bpradipt/rethinkdb,bchavez/rethinkdb,captainpete/rethinkdb,RubenKelevra/rethinkdb,sbusso/rethinkdb,marshall007/rethinkdb,eliangidoni/rethinkdb,tempbottle/rethinkdb,yakovenkodenis/rethinkdb,catroot/rethinkdb,wkennington/rethinkdb,rrampage/rethinkdb,matthaywardwebdesign/rethinkdb,sbusso/rethinkdb,greyhwndz/rethinkdb,RubenKelevra/rethinkdb,wkennington/rethinkdb,bpradipt/rethinkdb,gdi2290/rethinkdb,alash3al/rethinkdb,matthaywardwebdesign/rethinkdb,catroot/rethinkdb,wkennington/rethinkdb,marshall007/rethinkdb,wujf/rethinkdb,gavioto/rethinkdb,JackieXie168/rethinkdb,urandu/rethinkdb,dparnell/rethinkdb,KSanthanam/rethinkdb,scripni/rethinkdb,mcanthony/rethinkdb,sbusso/rethinkdb,rrampage/rethinkdb,yaolinz/rethinkdb,gavioto/rethinkdb,greyhwndz/rethinkdb,bpradipt/rethinkdb,sontek/rethinkdb,mquandalle/rethinkdb,niieani/rethinkdb,niieani/rethinkdb,bchavez/rethinkdb,bchavez/rethinkdb,KSanthanam/rethinkdb,alash3al/rethinkdb,rrampage/rethinkdb,eliangidoni/rethinkdb,Qinusty/rethinkdb,mcanthony/rethinkdb,jesseditson/rethinkdb,mcanthony/rethinkdb,Wilbeibi/rethinkdb,niieani/rethinkdb,victorbriz/rethinkdb,KSanthanam/rethinkdb,yakovenkodenis/rethinkdb,JackieXie168/rethinkdb,mquandalle/rethinkdb,gavioto/rethinkdb,mquandalle/rethinkdb,captainpete/rethinkdb,dparnell/rethinkdb,jesseditson/rethinkdb,jesseditson/rethinkdb,nviennot/rethinkdb,4talesa/rethinkdb,KSanthanam/rethinkdb,pap/rethinkdb,wujf/rethinkdb,yakovenkodenis/rethinkdb,spblightadv/rethinkdb,ayumilong/rethinkdb,AntouanK/rethinkdb,niieani/rethinkdb,lenstr/rethinkdb,rrampage/rethinkdb,yaolinz/rethinkdb,wujf/rethinkdb,jesseditson/rethinkdb,robertjpayne/rethinkdb,tempbottle/rethinkdb,ayumilong/rethinkdb,matthaywardwebdesign/rethinkdb,elkingtonmcb/rethinkdb,niieani/rethinkdb,losywee/rethinkdb,captainpete/rethinkdb,yakovenkodenis/rethinkdb,mbroadst/rethinkdb,mcanthony/rethinkdb,victorbriz/rethinkdb,Wilbeibi/rethinkdb,yaolinz/rethinkdb,gdi2290/rethinkdb,matthaywardwebdesign/rethinkdb,spblightadv/rethinkdb,gdi2290/rethinkdb,tempbottle/rethinkdb,wujf/rethinkdb,yaolinz/rethinkdb,mbroadst/rethinkdb,sebadiaz/rethinkdb,ajose01/rethinkdb,robertjpayne/rethinkdb,scripni/rethinkdb,jfriedly/rethinkdb,JackieXie168/rethinkdb,marshall007/rethinkdb,greyhwndz/rethinkdb,victorbriz/rethinkdb,AtnNn/rethinkdb,pap/rethinkdb,AntouanK/rethinkdb,mquandalle/rethinkdb,jesseditson/rethinkdb,gavioto/rethinkdb,wojons/rethinkdb,losywee/rethinkdb,catroot/rethinkdb,ayumilong/rethinkdb,mquandalle/rethinkdb,bchavez/rethinkdb,lenstr/rethinkdb,grandquista/rethinkdb,grandquista/rethinkdb,gavioto/rethinkdb,4talesa/rethinkdb,pap/rethinkdb,Qinusty/rethinkdb,robertjpayne/rethinkdb,alash3al/rethinkdb,sebadiaz/rethinkdb,scripni/rethinkdb,urandu/rethinkdb,rrampage/rethinkdb,wujf/rethinkdb,jmptrader/rethinkdb,tempbottle/rethinkdb,losywee/rethinkdb,jmptrader/rethinkdb,RubenKelevra/rethinkdb,bchavez/rethinkdb,eliangidoni/rethinkdb,AntouanK/rethinkdb,ajose01/rethinkdb,lenstr/rethinkdb,robertjpayne/rethinkdb,jmptrader/rethinkdb,JackieXie168/rethinkdb,dparnell/rethinkdb,lenstr/rethinkdb,robertjpayne/rethinkdb,jesseditson/rethinkdb,catroot/rethinkdb,nviennot/rethinkdb,marshall007/rethinkdb,niieani/rethinkdb,dparnell/rethinkdb,wkennington/rethinkdb,wkennington/rethinkdb,mcanthony/rethinkdb,gavioto/rethinkdb,niieani/rethinkdb,tempbottle/rethinkdb,gdi2290/rethinkdb,gdi2290/rethinkdb,bpradipt/rethinkdb,Qinusty/rethinkdb,catroot/rethinkdb,4talesa/rethinkdb,pap/rethinkdb,losywee/rethinkdb,nviennot/rethinkdb,AtnNn/rethinkdb,alash3al/rethinkdb,bchavez/rethinkdb,AtnNn/rethinkdb,urandu/rethinkdb,mcanthony/rethinkdb,yaolinz/rethinkdb,victorbriz/rethinkdb,gavioto/rethinkdb,jfriedly/rethinkdb,pap/rethinkdb,ayumilong/rethinkdb,rrampage/rethinkdb,sebadiaz/rethinkdb,wojons/rethinkdb,bpradipt/rethinkdb,greyhwndz/rethinkdb,elkingtonmcb/rethinkdb,captainpete/rethinkdb,spblightadv/rethinkdb,wojons/rethinkdb,marshall007/rethinkdb,bchavez/rethinkdb,yakovenkodenis/rethinkdb,AntouanK/rethinkdb,RubenKelevra/rethinkdb,victorbriz/rethinkdb,losywee/rethinkdb,matthaywardwebdesign/rethinkdb,sebadiaz/rethinkdb,marshall007/rethinkdb,wujf/rethinkdb,captainpete/rethinkdb,yaolinz/rethinkdb,AtnNn/rethinkdb,pap/rethinkdb,ayumilong/rethinkdb,nviennot/rethinkdb,sontek/rethinkdb,greyhwndz/rethinkdb,captainpete/rethinkdb,grandquista/rethinkdb,pap/rethinkdb,AntouanK/rethinkdb,ajose01/rethinkdb,wkennington/rethinkdb,greyhwndz/rethinkdb,wkennington/rethinkdb,AtnNn/rethinkdb,dparnell/rethinkdb,jfriedly/rethinkdb,RubenKelevra/rethinkdb,ayumilong/rethinkdb,alash3al/rethinkdb,bchavez/rethinkdb