Fixed text position for mouseclicks (now takes scroll pos and line numbers into account).