some fixes related to selecting text in the grid IE crash