[NUI] Fix Registry exception for custom view wrapper