Fix line numbering not re-rendering on resize bug