ios range selection fix