fix bug - if camera is null, then dont use it. (was backwards)