Imagerecorder crash fix #442