Correctly restore dashed grid lines on mouse out.