call forceMinimize if from plugin