TorchService: preview texture needs to be set on some devices