Clear selected spell when window manager is cleared