Remove selection clearing code; use CSS.