fixed ppu background drawing crashes