Fix backgroundColor render on nodejs

if setWidth or setHeight is used, the backgrounColor did not rendered because width and height property was undefined.