bug fix for ie9 cursor position