Defer OnAfterTreeRender until end of tick to ensure children processed first and references set (#1180)
* Defer OnAfterTreeRender until end of tick to ensure children processed first and references set
* Only update (run pending events, tick, scroll velocity) after render once - reset that flag on hotload if render tree becomes dirty
* Revert "Only update (run pending events, tick, scroll velocity) after render once - reset that flag on hotload if render tree becomes dirty"
This reverts commit aae36e1777d11a5649c24985c0f8802ced3397b4.