Inline selection fix