Fix nested layout directive display