Nick Ienatch has written another excellent article on how to perform a mid corner correction.
Best thing is not to hug that center line but he provides some tips on how to correct the situation should you find your self in it.
https://www.cycleworld.com/midcorner-correction-how-to/