Fix image display on slice slider callback