Thanks, it works perfectly—both issues are gone!
I reached level 9 without any trouble, aside from the occasional slowdown when eating the pie and Ralph filling the screen with bricks. You might want to cap the maximum number of bricks on screen to avoid that slowdown, though slowdowns weren't exactly uncommon in games from that era (Space Invaders comes to mind!).
In case you missed it, there’s also a PC version with slightly different gameplay:
https://125scratch.itch.io/fix-it-felix-classic
It features some interesting ideas: if both window panes are broken, you have to fix them twice (unless you’ve eaten the pie, in which case a single repair suffices); the building changes color as you progress through the levels; and shutters sometimes appear on certain windows, blocking you from reaching them from the sides. The sound is also very good and even includes speech synthesis. The gameplay is quite different, too—sprite movement is fluid, the difficulty is significantly higher, and the pace is faster, with less downtime between game segments.
That said, your version for RetroArch is unbeatable; with the shaders, it truly looks like a game from that period—great work!