Fixed borked image preview in SM