Fix collection row selection issue on Windows