bugfix for first scanline display incorrectly issue.
code improve for ppu