Fixed setting of property if no dependency property.