Fixed line highlighting to keep dots on top and visible