containsPoint fix