There are different levels for ghosted lines/planes exercise: https://youtu.be/o1HAVipdsZM so right now you should focus on level 1 rather than stressing over under/overshooting.

But to fix under/overshooting you can try slowing down during the second step of the ghosting method and give yourself more time to familiarize yourself with the motion.