[ext] Fixed Twig extension access static properties wheras it should not