imagePullSecrets gone after upgrading image version

When you update the image tag of a Deployment through the Rancher Web-UI in an imported k3s Cluster, the imagePullSecrets of that Deployment get erased.