The correct solution to this is to not pad at the edge of textures. Its been on the todo list for a while now. In the mean time, you could look into dicing, that might sidestep the problem for you here for the time being. If you'd like to patch your code to not pad on one axis, then thats possible too.