Fixing a broken callback when the camera application falls into a bad state