Render the line numbers after gutter mount

Fixes #2916