Reinitialize maximized windows while plugging external display