Fix a bug that caused the scene to only get rendered once.
Merge pull request #1 from vorporeal/fix-single-render

Using main loop instead of rendering one frame.