Fix block rendering from parent template

If block not found in current template, search the parent, before moving
to other template