On the original image that you posted did you blur out some portions of the image to conceal personal info, or is the 'smearing' simply part of the issue you are experiencing?
You've already tried most of the troubleshooting steps I would try, however here are a couple more questions and steps.
How often does this issue occur? (hourly, daily, weekly, monthly) When the issue occurs, how long does it last?
You mentioned that the issue started after installing a memory upgrade. Have you tried removing the upgraded memory to see if the issue goes away? What type of memory did you install? Did you confirm that it is fully seated? I have difficulty seeing how the memory could have caused this type of issue, however because the installation of the memory seems to be linked to the occurrence of the issue I suggest temporarily removing it.
If you take a screenshot of the entire display while the issue is occurring does the saved screenshot file also show the issue? You'll obviously need to view the screenshot file on another working system, or wait until the issue disappears in order to answer the question. If the issue shows up on the display, but not in the screenshot file then this would indicate to me a possible problem with your LCD display. If the issue shows up in the screenshot file when viewed on a working system then I would assume a possible software issue or issue with the graphics circuitry on the logic board.
Does the issue occur if you boot to the macOS recovery mode. You can enter macOS recovery mode by turning on your Mac and immediately pressing and holding the Command (⌘)-R keys. For more info visit:
About macOS Recovery - Apple Support
Once booted into macOS recovery mode wait long enough to see if the issue returns. This will help isolate whether the issue is somehow related to the copy of macOS installed on your system. macOS recovery boots from a separate protected partition or over the internet depending on what specific key combination is used.
As others have already stated, it is important that you keep a back up of your data. I lost important family pictures a while back and now I always have at least two backups. It's a tough lesson to learn.