As the doc says ~= only compares bounding boxes. So if you move a point in a way that it doesn't change the bounding box ~= still returns true.