fixed issue with selecting item by mouse

reason was that blur was executing first