This has been answered many times before.
It's actually logical - they are overlapping if the object is the same size as the hole. The edge of the sprite is exactly in the same position as the edge of the hole, so how can one fit in the other?
The sprite would need to be 1pixel less than the whole, or conversely, the hole should be 1 pixel larger.