Fix Setting of CSS Properties w/o Element

Setting of CSS properties does not work unless an element is provided.