CameraPlugin robustness on macOS. If the frame buffer isn't big enough (eg
because another app has changed the camera) then free and remalloc the frame
buffer if it is too small. Get rid of the firstTime flag and just use the frame
buffer (pixels) as the flag.