Switch how camera reference is obtained