Map the elements per iteration after their first draw

As the element gets changed when the component is initialized we
need to wait until the first draw before we can know the elements
in an iteration.