It’s all to do with the direction you move your finger off the string, if you take it off at an angle you increase the chances of plucking the string! Practice lifting off the string then moving up or down to different strings at a slower speed until you get used to it! You could also try what i do, relax the finger so it comes off the string by itself instead of purposely lifting (bit weird at first but it also helps with keeping fingers close to the strings)