Fix multiline selection