Fix crash in receiveJpegPictureFragment