Changed renderer.before_rendering_content event, now it is better...