fix selection bug introduced with extjs upgrade