Add support for rectangle select mode in 24.4.