fix pagepart render context

The parameters where not passed through while rendering the pageparts