Fixed TPAScanline against 0-dist