Render shortcodes before paginating content

This way even if a shortcode spans multiple pages it will still display correctly.

Beforehand if a shortcode's definition (aka very long contents inside shortcodes) spanned multiple pages it'd break, and it wouldn't be rendered.