bugfix polygon contains