point in polygon work except in one weird edge case