Make refresh recompute the space the gutter takes up

When line numbers are off, and the editor was initialized in
a hidden position, the gutters would sit on top of the text.

Issue #2365