fixed crash when text is set to nothing and so width of it, and if text has shadows set it can't create bitmap for it.