[IDE] Use the correct height when rendering the selection background