fixed desktop switch bug in rwm