Draw selection the correct width during an operation that changes doc width

Closes #2968