Fixed Twig view render method not using the data argument correctly.

The view data passed as argument to the render method of Twig view was never used correctly.