Moved from post-init to pre-render

As there are situations, when pageInFrame is added from post-init hook.
So for it to properly work, pageinframed moved further to pre-render