Fix image preview