Fixed client_to_desktop bug