matlab: figure logging bug fix.