Fix issue with Layout class in Html.php