This issue is normally resolved by extruding the tiles in the sprite sheet. It has been discussed a lot in the past. This post has comments suggesting that it can be done via TexturePacker, if you use it.
I haven’t tried it, but there’s also tile-extruder you can test with.