Fix overflow of highlighting with block display.