Fix some InputfieldSelector bugs