Fixed compilation error in NodePosition functor