Move `setLayout` render helper into `http_render` hook.
Refactor lib/system/render/common.js
A fix.