modified IsWithin() for new dragSelect Logic