Screen flickering and tearing in RetroArch add-on while in menu.

  • How to recreate:

    Play a random game and enter the pause menu in Kodi, it causes screen tearing and flickering like if there was z fighting between the menu and the game. Makes controller setup unusable. (Tested on RPi4b)