Fix grid lines (hopefully for real this time!) [ci skip]