Fix live calibration
Fix calibration bug where the output image would have the wrong pixel type