[Line Number] Fixed problem with drawRange function