Small but important fix for TPAScanline