Can we have here a race condition? If we have an element entering the screen just after we leave this `while`, ... but the only problem here would be not render an element till another one enters the screen isnt?