Recursive render elements