Handle hover Twig properly