fixes inf bound for selection cursor