Fix bug where rect labels do not show on the highest rects