fix isPointIn bug