Yeah that is the most frustrating thing, and has caused a few swears to be uttered.
Practice standing jumps on the ground, where you start stationary , press space followed immediately by forwards.
Once you can get a consistent jump it is easier to replicate, and if you need to go a shorter distance you can often jump diagonally to avoid overshooting.