Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
I will wait until macOS Catalina will be out. I have found some alternative software I can live with for now.
 
So the solution was simple – I've renamed the ~/Library/Containers/com.apple.Preview folder so the system created a new one and it works now.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.