ngx.ctx.after_render for pgmoon