[CSHarpBinding] Fixed script selection bug.