Fix glitches on edges where the object underneath looks like it's in front (the line is actually shifted by one pixel).