Fixing the spacing of dashed lines and ending night blocks