Properly handling attached properties on elements with non-default namespace.