Automatically determine scene directory when using -render (fixes #98).