Update camera code (=add special cases) for OSX.