Fixed ViewRenderer.

Signed-off-by: SeynovAM <sejnovalexey@gmail.com>