Fix a bug in select operation after model resize

[#46394205]