Fix unindent selection (selection was lost after unindent)