Line on edge of masked material plane

I’ve tried a few different lighting and material modes for this, but it doesn’t seem to work. As you can see, there is a line of pixels on the edge of each of these planes, which contain a masked material. Is there a way around this?