Remove unsupported lines from overlay