Added position to refs (scope of parent)