fix window mode (tray icon respects it now too)