Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
How is the Mac mini connected to the display? I would change the connection.. say, from USB-C to HDMI, etc. and see if the behavior still occurs.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.