Frame state update

Update the frame state in `Scene.render` instead of `Scene.initializeFrame`.

This fixes #487.