Fix bug on polygonal selection. close #13 close #12