CSS: get property value bug fix