fix desktop freeze with BlackMate theme on color reset

pls test before merge