Set default value if there is no ".CodeMirror-lines" element at the time of scroll calculations