fix coordinatesContainPoint bug