autostart: work around mindock _NET_WM_WINDOW_TYPE race condition