Fix minimizing from taskbar and system menu
Fix minimizing from taskbar and system menu

IgnaceMaes/MaterialSkin,cz-michi/MaterialSkin,dexter1515/MaterialSkin,Drarig29/MaterialSkin,first087/MaterialSkin,wangzheng888520/MaterialSkin,adamyeager/MaterialSkin,salaros/MaterialSkin