fixed cursor setting when selecting text tool