CSS: Check properties to rescue from NRE (#1477)

Fixed #1477.