Added the same render-no-layout fix for the page preview functionality.

Close #77.