Fix Twig integration bug: Avoid fatal error when using drupalView

#244