Don’t render decorations on the last empty line when selection not empty

Works like the old editor.

Fixes #2657