fix ioPoly contains for rotations