Fix _owner when adding refs inside render

ToDo: fix component will update