Hotfix for offline.
In offline, when using the camera sample count instead of specifying it with command-line caused a segfault due to misuse in main when calling "renderSamples".
In offline, when using the camera sample count instead of specifying it with command-line caused a segfault due to misuse in main when calling "renderSamples".