Changed to set the selection owner of WM_Sn.