Bugfixes for the PPU