Fix selection range