apply a betterfix for containsPoint