i doubt hugo will change the value of .Page within the render hook.
without any code I would say you change the context within the hook. so the . is not what you expect.