Fix bug with collection events before render

Fixes #1797 
Fixes #1794