Reverts previous changes to camera code.