Don't try to access the focused desktop of NULL