Set viewRenderer in stead of View

Fixed layout rendering.