You can grab the end of the dimension line and move it off the part. Repeat the above step one and grab the ends of the line and drag right..
Or move the dimension to the other side.
Your example is correct dimensioning.
The line you want to move is the (extension line), the line with the arrow is the (dimension line). To me, if the extension line does not go across the part to the center line, then the drawing is not clear. I know, I know I am being too nit-picky, just the way I was taught for 2 years. then 28 yrs. experience. Take it or leave it, just giving my 2 cents.