Fix render for Symfony 2.2