You can simply press ALT+F2 and type this to restart the panel:
It sounds like the window manager is interfering. Which one are you using? (This can be checked in MATE Tweak under the Windows category).
Try another window manager, it wouldn’t surprise me if it’s Compiz.